Table of Contents

Class PdfPkcs7.X509Name

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

a class that holds an X509 name

public class PdfPkcs7.X509Name
Inheritance
PdfPkcs7.X509Name
Inherited Members

Constructors

X509Name(Asn1Sequence)

Constructs an X509 name

public X509Name(Asn1Sequence seq)

Parameters

seq Asn1Sequence

an Asn1 Sequence

X509Name(string)

Constructs an X509 name

public X509Name(string dirName)

Parameters

dirName string

a directory name

Fields

C

country code - StringType(SIZE(2))

public static DerObjectIdentifier C

Field Value

DerObjectIdentifier

Cn

common name - StringType(SIZE(1..64))

public static DerObjectIdentifier Cn

Field Value

DerObjectIdentifier

Dc

object identifier

public static DerObjectIdentifier Dc

Field Value

DerObjectIdentifier

DefaultSymbols

A Hashtable with default symbols

public static INullValueDictionary<Asn1Encodable, string> DefaultSymbols

Field Value

INullValueDictionary<Asn1Encodable, string>

E

email address in Verisign certificates

public static DerObjectIdentifier E

Field Value

DerObjectIdentifier

EmailAddress

Email address (RSA PKCS#9 extension) - IA5String. Note: if you're trying to be ultra orthodox, don't use this! It shouldn't be in here.

public static DerObjectIdentifier EmailAddress

Field Value

DerObjectIdentifier

Generation

Naming attribute of type X520name

public static DerObjectIdentifier Generation

Field Value

DerObjectIdentifier

Givenname

Naming attribute of type X520name

public static DerObjectIdentifier Givenname

Field Value

DerObjectIdentifier

Initials

Naming attribute of type X520name

public static DerObjectIdentifier Initials

Field Value

DerObjectIdentifier

L

locality name - StringType(SIZE(1..64))

public static DerObjectIdentifier L

Field Value

DerObjectIdentifier

O

organization - StringType(SIZE(1..64))

public static DerObjectIdentifier O

Field Value

DerObjectIdentifier

Ou

organizational unit name - StringType(SIZE(1..64))

public static DerObjectIdentifier Ou

Field Value

DerObjectIdentifier

Sn

device serial number name - StringType(SIZE(1..64))

public static DerObjectIdentifier Sn

Field Value

DerObjectIdentifier

St

state, or province name - StringType(SIZE(1..64))

public static DerObjectIdentifier St

Field Value

DerObjectIdentifier

Surname

Naming attribute of type X520name

public static DerObjectIdentifier Surname

Field Value

DerObjectIdentifier

T

Title

public static DerObjectIdentifier T

Field Value

DerObjectIdentifier

Uid

LDAP User id.

public static DerObjectIdentifier Uid

Field Value

DerObjectIdentifier

UniqueIdentifier

Naming attribute of type X520name

public static DerObjectIdentifier UniqueIdentifier

Field Value

DerObjectIdentifier

Values

A Hashtable with values

public INullValueDictionary<string, IList<string>> Values

Field Value

INullValueDictionary<string, IList<string>>

Methods

GetField(string)

public string GetField(string name)

Parameters

name string

Returns

string

GetFieldArray(string)

gets a field array from the values Hashmap

public IList<string> GetFieldArray(string name)

Parameters

name string

Returns

IList<string>

an ArrayList

GetFields()

getter for values

public INullValueDictionary<string, IList<string>> GetFields()

Returns

INullValueDictionary<string, IList<string>>

a Hashtable with the fields of the X509 name

ToString()

@see java.lang.Object#toString()

public override string ToString()

Returns

string