2 writes to _certificate
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
34
_certificate
= clone ? new X509Certificate2(certificate.Handle) : certificate;
46
_certificate
= elements[index].Certificate;
20 references to _certificate
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (20)
75
_identity = new X509Identity(
_certificate
, false, false);
86
_expirationTime =
_certificate
.NotAfter.ToUniversalTime();
102
chain.Build(
_certificate
);
113
else if (StringComparer.OrdinalIgnoreCase.Equals(
_certificate
.SubjectName.Name,
_certificate
.IssuerName.Name))
116
_issuer = new X500DistinguishedNameClaimSet(
_certificate
.IssuerName);
127
return
_certificate
;
157
SecurityUtils.ResetCertificate(
_certificate
);
164
byte[] thumbprint =
_certificate
.GetCertHash();
169
string value =
_certificate
.SubjectName.Name;
171
claims.Add(Claim.CreateX500DistinguishedNameClaim(
_certificate
.SubjectName));
174
string[] dnsEntries = GetDnsFromExtensions(
_certificate
);
185
value =
_certificate
.GetNameInfo(X509NameType.DnsName, false);
192
value =
_certificate
.GetNameInfo(X509NameType.SimpleName, false);
196
value =
_certificate
.GetNameInfo(X509NameType.UpnName, false);
204
value =
_certificate
.GetNameInfo(X509NameType.UrlName, false);
248
yield return new Claim(ClaimTypes.Thumbprint,
_certificate
.GetCertHash(), Rights.Identity);
252
yield return new Claim(ClaimTypes.Thumbprint,
_certificate
.GetCertHash(), Rights.PossessProperty);
260
string[] dnsEntries = GetDnsFromExtensions(
_certificate
);
271
string value =
_certificate
.GetNameInfo(X509NameType.DnsName, false);