44 references to X500DistinguishedNameFlags
netstandard (1)
netstandard.cs (1)
1952[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
862[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags))]
System.Security.Cryptography (41)
System\Security\Cryptography\X509Certificates\IX509Pal.cs (2)
11string X500DistinguishedNameDecode(byte[] encodedDistinguishedName, X500DistinguishedNameFlags flag); 12byte[] X500DistinguishedNameEncode(string distinguishedName, X500DistinguishedNameFlags flag);
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (2)
71string formedSubject = X500NameEncoder.X500DistinguishedNameDecode(cert.SubjectName.RawData, false, X500DistinguishedNameFlags.None); 88string formedIssuer = X500NameEncoder.X500DistinguishedNameDecode(cert.IssuerName.RawData, false, X500DistinguishedNameFlags.None);
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
291public string LegacyIssuer => IssuerName.Decode(X500DistinguishedNameFlags.None); 293public string LegacySubject => SubjectName.Decode(X500DistinguishedNameFlags.None);
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (4)
45public string X500DistinguishedNameDecode(byte[] encodedDistinguishedName, X500DistinguishedNameFlags flags) 50public byte[] X500DistinguishedNameEncode(string distinguishedName, X500DistinguishedNameFlags flag) 60multiLine ? X500DistinguishedNameFlags.UseNewLines : X500DistinguishedNameFlags.None,
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (6)
45: this(distinguishedName, X500DistinguishedNameFlags.Reversed) 49public X500DistinguishedName(string distinguishedName, X500DistinguishedNameFlags flag) 55public string Name => _lazyDistinguishedName ??= Decode(X500DistinguishedNameFlags.Reversed); 57public string Decode(X500DistinguishedNameFlags flag) 88private static byte[] Encode(string distinguishedName, X500DistinguishedNameFlags flags) 97private static void ThrowIfInvalid(X500DistinguishedNameFlags flags)
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (25)
38X500DistinguishedNameFlags flags, 41bool reverse = (flags & X500DistinguishedNameFlags.Reversed) == X500DistinguishedNameFlags.Reversed; 42bool quoteIfNeeded = (flags & X500DistinguishedNameFlags.DoNotUseQuotes) != X500DistinguishedNameFlags.DoNotUseQuotes; 43bool useMultiSeparator = (flags & X500DistinguishedNameFlags.DoNotUsePlusSign) != X500DistinguishedNameFlags.DoNotUsePlusSign; 46if ((flags & X500DistinguishedNameFlags.UseSemicolons) == X500DistinguishedNameFlags.UseSemicolons) 51else if ((flags & (X500DistinguishedNameFlags.UseNewLines | X500DistinguishedNameFlags.UseCommas)) == X500DistinguishedNameFlags.UseNewLines) 84X500DistinguishedNameFlags flags) 86bool reverse = (flags & X500DistinguishedNameFlags.Reversed) == X500DistinguishedNameFlags.Reversed; 87bool noQuotes = (flags & X500DistinguishedNameFlags.DoNotUseQuotes) == X500DistinguishedNameFlags.DoNotUseQuotes; 88bool forceUtf8Encoding = (flags & X500DistinguishedNameFlags.ForceUTF8Encoding) == X500DistinguishedNameFlags.ForceUTF8Encoding; 93if ((flags & X500DistinguishedNameFlags.UseSemicolons) == X500DistinguishedNameFlags.UseSemicolons) 98else if ((flags & X500DistinguishedNameFlags.UseCommas) == X500DistinguishedNameFlags.UseCommas) 103else if ((flags & X500DistinguishedNameFlags.UseNewLines) == X500DistinguishedNameFlags.UseNewLines)
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
15[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags))]