3.1.2 X509Name objects
X509Name objects have the following methods:
- hash()
-
Return an integer giving the first four bytes of the MD5 digest of the DER
representation of the name.
- der()
-
Return a string giving the DER representation of the name.
- get_components()
-
Return a list of two-tuples of strings giving the components of the name.
X509Name objects have the following members:
- countryName
-
The country of the entity.
C may be used as an alias for
countryName.
- stateOrProvinceName
-
The state or province of the entity.
ST may be used as an alias for
stateOrProvinceName·
- localityName
-
The locality of the entity.
L may be used as an alias for
localityName.
- organizationName
-
The organization name of the entity.
O may be used as an alias for
organizationName.
- organizationalUnitName
-
The organizational unit of the entity.
OU may be used as an alias for
organizationalUnitName.
- commonName
-
The common name of the entity.
CN may be used as an alias for
commonName.
- emailAddress
-
The e-mail address of the entity.