Table of Contents

Class X509Name

Namespace
Enterprises.Org.BouncyCastle.Asn1.X509
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class X509Name : Asn1Encodable, IAsn1Convertible
Inheritance
X509Name
Implements
Inherited Members

Constructors

X509Name()

protected X509Name()

X509Name(Asn1Sequence)

protected X509Name(Asn1Sequence seq)

Parameters

seq Asn1Sequence

X509Name(bool, IDictionary, string)

public X509Name(bool reverse, IDictionary lookUp, string dirName)

Parameters

reverse bool
lookUp IDictionary
dirName string

X509Name(bool, IDictionary, string, X509NameEntryConverter)

public X509Name(bool reverse, IDictionary lookUp, string dirName, X509NameEntryConverter converter)

Parameters

reverse bool
lookUp IDictionary
dirName string
converter X509NameEntryConverter

X509Name(bool, string)

public X509Name(bool reverse, string dirName)

Parameters

reverse bool
dirName string

X509Name(bool, string, X509NameEntryConverter)

public X509Name(bool reverse, string dirName, X509NameEntryConverter converter)

Parameters

reverse bool
dirName string
converter X509NameEntryConverter

X509Name(IList, IDictionary)

public X509Name(IList ordering, IDictionary attributes)

Parameters

ordering IList
attributes IDictionary

X509Name(IList, IDictionary, X509NameEntryConverter)

public X509Name(IList ordering, IDictionary attributes, X509NameEntryConverter converter)

Parameters

ordering IList
attributes IDictionary
converter X509NameEntryConverter

X509Name(IList, IList)

public X509Name(IList oids, IList values)

Parameters

oids IList
values IList

X509Name(IList, IList, X509NameEntryConverter)

public X509Name(IList oids, IList values, X509NameEntryConverter converter)

Parameters

oids IList
values IList
converter X509NameEntryConverter

X509Name(string)

public X509Name(string dirName)

Parameters

dirName string

X509Name(string, X509NameEntryConverter)

public X509Name(string dirName, X509NameEntryConverter converter)

Parameters

dirName string
converter X509NameEntryConverter

Fields

BusinessCategory

public static readonly DerObjectIdentifier BusinessCategory

Field Value

DerObjectIdentifier

C

public static readonly DerObjectIdentifier C

Field Value

DerObjectIdentifier

CN

public static readonly DerObjectIdentifier CN

Field Value

DerObjectIdentifier

CountryOfCitizenship

public static readonly DerObjectIdentifier CountryOfCitizenship

Field Value

DerObjectIdentifier

CountryOfResidence

public static readonly DerObjectIdentifier CountryOfResidence

Field Value

DerObjectIdentifier

DC

public static readonly DerObjectIdentifier DC

Field Value

DerObjectIdentifier

DateOfBirth

public static readonly DerObjectIdentifier DateOfBirth

Field Value

DerObjectIdentifier

DefaultLookup

public static readonly Hashtable DefaultLookup

Field Value

Hashtable

DefaultSymbols

public static readonly Hashtable DefaultSymbols

Field Value

Hashtable

DmdName

public static readonly DerObjectIdentifier DmdName

Field Value

DerObjectIdentifier

DnQualifier

public static readonly DerObjectIdentifier DnQualifier

Field Value

DerObjectIdentifier

E

public static readonly DerObjectIdentifier E

Field Value

DerObjectIdentifier

EmailAddress

public static readonly DerObjectIdentifier EmailAddress

Field Value

DerObjectIdentifier

Gender

public static readonly DerObjectIdentifier Gender

Field Value

DerObjectIdentifier

Generation

public static readonly DerObjectIdentifier Generation

Field Value

DerObjectIdentifier

GivenName

public static readonly DerObjectIdentifier GivenName

Field Value

DerObjectIdentifier

Initials

public static readonly DerObjectIdentifier Initials

Field Value

DerObjectIdentifier

L

public static readonly DerObjectIdentifier L

Field Value

DerObjectIdentifier

Name

public static readonly DerObjectIdentifier Name

Field Value

DerObjectIdentifier

NameAtBirth

public static readonly DerObjectIdentifier NameAtBirth

Field Value

DerObjectIdentifier

O

public static readonly DerObjectIdentifier O

Field Value

DerObjectIdentifier

OU

public static readonly DerObjectIdentifier OU

Field Value

DerObjectIdentifier

OrganizationIdentifier

public static readonly DerObjectIdentifier OrganizationIdentifier

Field Value

DerObjectIdentifier

PlaceOfBirth

public static readonly DerObjectIdentifier PlaceOfBirth

Field Value

DerObjectIdentifier

PostalAddress

public static readonly DerObjectIdentifier PostalAddress

Field Value

DerObjectIdentifier

PostalCode

public static readonly DerObjectIdentifier PostalCode

Field Value

DerObjectIdentifier

Pseudonym

public static readonly DerObjectIdentifier Pseudonym

Field Value

DerObjectIdentifier

RFC1779Symbols

public static readonly Hashtable RFC1779Symbols

Field Value

Hashtable

RFC2253Symbols

public static readonly Hashtable RFC2253Symbols

Field Value

Hashtable

ST

public static readonly DerObjectIdentifier ST

Field Value

DerObjectIdentifier

SerialNumber

public static readonly DerObjectIdentifier SerialNumber

Field Value

DerObjectIdentifier

Street

public static readonly DerObjectIdentifier Street

Field Value

DerObjectIdentifier

Surname

public static readonly DerObjectIdentifier Surname

Field Value

DerObjectIdentifier

T

public static readonly DerObjectIdentifier T

Field Value

DerObjectIdentifier

TelephoneNumber

public static readonly DerObjectIdentifier TelephoneNumber

Field Value

DerObjectIdentifier

UID

public static readonly DerObjectIdentifier UID

Field Value

DerObjectIdentifier

UniqueIdentifier

public static readonly DerObjectIdentifier UniqueIdentifier

Field Value

DerObjectIdentifier

UnstructuredAddress

public static readonly DerObjectIdentifier UnstructuredAddress

Field Value

DerObjectIdentifier

UnstructuredName

public static readonly DerObjectIdentifier UnstructuredName

Field Value

DerObjectIdentifier

Properties

DefaultReverse

public static bool DefaultReverse { get; set; }

Property Value

bool

Methods

Equivalent(X509Name)

public bool Equivalent(X509Name other)

Parameters

other X509Name

Returns

bool

Equivalent(X509Name, bool)

public bool Equivalent(X509Name other, bool inOrder)

Parameters

other X509Name
inOrder bool

Returns

bool

GetInstance(Asn1TaggedObject, bool)

public static X509Name GetInstance(Asn1TaggedObject obj, bool explicitly)

Parameters

obj Asn1TaggedObject
explicitly bool

Returns

X509Name

GetInstance(object)

public static X509Name GetInstance(object obj)

Parameters

obj object

Returns

X509Name

GetOidList()

public IList GetOidList()

Returns

IList

GetValueList()

public IList GetValueList()

Returns

IList

GetValueList(DerObjectIdentifier)

public IList GetValueList(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

Returns

IList

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object

ToString()

public override string ToString()

Returns

string

ToString(bool, IDictionary)

public string ToString(bool reverse, IDictionary oidSymbols)

Parameters

reverse bool
oidSymbols IDictionary

Returns

string