42 references to X509NameType
System (17)
security\system\security\cryptography\x509\x509certificate2.cs (10)
449
string simpleName = GetNameInfo(
X509NameType
.SimpleName, false);
455
string emailName = GetNameInfo(
X509NameType
.EmailName, false);
461
string upnName = GetNameInfo(
X509NameType
.UpnName, false);
467
string dnsName = GetNameInfo(
X509NameType
.DnsName, false);
479
simpleName = GetNameInfo(
X509NameType
.SimpleName, true);
485
emailName = GetNameInfo(
X509NameType
.EmailName, true);
491
upnName = GetNameInfo(
X509NameType
.UpnName, true);
497
dnsName = GetNameInfo(
X509NameType
.DnsName, true);
952
public unsafe string GetNameInfo(
X509NameType
nameType, bool forIssuer) {
1037
if (nameType ==
X509NameType
.DnsName) {
security\system\security\cryptography\x509\x509utils.cs (7)
131
internal static uint MapNameType (
X509NameType
nameType) {
134
case
X509NameType
.SimpleName:
137
case
X509NameType
.EmailName:
140
case
X509NameType
.UpnName:
143
case
X509NameType
.DnsName:
144
case
X509NameType
.DnsFromAlternativeName:
147
case
X509NameType
.UrlName:
System.IdentityModel (16)
System\IdentityModel\Claims\ClaimsHelper.cs (1)
34
string upn = x509Certificate.GetNameInfo(
X509NameType
.UpnName, false);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (9)
179
value = this.certificate.GetNameInfo(
X509NameType
.SimpleName, false);
183
value = this.certificate.GetNameInfo(
X509NameType
.EmailName, false);
187
value = this.certificate.GetNameInfo(
X509NameType
.UpnName, false);
191
value = this.certificate.GetNameInfo(
X509NameType
.UrlName, false);
283
string value = cert.GetNameInfo(
X509NameType
.DnsName, false);
517
value = this.certificate.GetNameInfo(
X509NameType
.DnsName, false);
521
value = this.certificate.GetNameInfo(
X509NameType
.SimpleName, false);
525
value = this.certificate.GetNameInfo(
X509NameType
.EmailName, false);
529
value = this.certificate.GetNameInfo(
X509NameType
.UpnName, false);
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
102
string name = x509Token.Certificate.GetNameInfo(
X509NameType
.UpnName, false);
System\IdentityModel\X509Util.cs (5)
201
value = certificate.GetNameInfo(
X509NameType
.DnsName, false);
207
value = certificate.GetNameInfo(
X509NameType
.SimpleName, false);
213
value = certificate.GetNameInfo(
X509NameType
.EmailName, false);
219
value = certificate.GetNameInfo(
X509NameType
.UpnName, false);
225
value = certificate.GetNameInfo(
X509NameType
.UrlName, false);
System.Security (1)
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
234
certificate2.GetNameInfo(
X509NameType
.SimpleName, false));
System.ServiceModel (4)
System\ServiceModel\Security\SecurityUtils.cs (4)
1060
value = certificate.GetNameInfo(
X509NameType
.DnsName, false);
1063
value = certificate.GetNameInfo(
X509NameType
.SimpleName, false);
1066
value = certificate.GetNameInfo(
X509NameType
.EmailName, false);
1069
value = certificate.GetNameInfo(
X509NameType
.UpnName, false);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\TrustManager.cs (1)
403
parsedData.AuthenticodedPublisher = parsedData.Certificate.GetNameInfo(
X509NameType
.SimpleName, false);
WsatConfig (1)
Configuration\CertificateManager.cs (1)
271
if (Utilities.SafeCompare(cert.GetNameInfo(
X509NameType
.DnsName, false), hostName))
WsatUI (2)
MMCUI\AcceptedCertificatesForm.cs (2)
67
store[i].GetNameInfo(
X509NameType
.SimpleName, false),
68
store[i].GetNameInfo(
X509NameType
.SimpleName, true),