System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags Enumeration

Specifies characteristics of the X.500 distinguished name.

Syntax

[System.Flags]
public enum X500DistinguishedNameFlags

Remarks

This enumeration is used with the System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags class to indicate special characters contained in the distinguished name.

Several values are mutually exclusive in this enumeration; use only one of these values to define the special characteristics of an X.500 distinguished name. For example, specify only one of the X500DistinguishedNameFlags.UseCommas, X500DistinguishedNameFlags.UseNewLines , and X500DistinguishedNameFlags.UseSemicolons values. You would also specify either X500DistinguishedNameFlags.UseT61Encoding or X500DistinguishedNameFlags.UseUTF8Encoding .

Members

Member NameDescription
DoNotUsePlusSign

The distinguished name does not use the plus sign.

DoNotUseQuotes

The distinguished name does not use quotation marks.

ForceUTF8Encoding

Forces the distinguished name to encode specific X.500 keys as UTF-8 strings rather than printable Unicode strings. For more information and the list of X.500 keys affected, see the tp://msdn.microsoft.com/en-us/library/windows/desktop/aa379394.aspx.

None

The distinguished name has no special characteristics.

Reversed

The distinguished name is reversed.

UseCommas

The distinguished name uses commas.

UseNewLines

The distinguished name uses the new line character.

UseSemicolons

The distinguished name uses semicolons.

UseT61Encoding

The distinguished name uses T61 encoding.

UseUTF8Encoding

The distinguished name uses UTF8 encoding instead of Unicode character encoding.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0