module DN_attributes:sig
..end
Object identifiers used in distinguished names
This module is an implementation of Netdn.AT_LOOKUP
, and can be
used with the parser/printer in Netdn
.
Attibute types
val at_name : Netx509.oid
val at_surname : Netx509.oid
val at_givenName : Netx509.oid
val at_initials : Netx509.oid
val at_generationQualifier : Netx509.oid
val at_commonName : Netx509.oid
val at_localityName : Netx509.oid
val at_stateOrProvinceName : Netx509.oid
val at_organizationName : Netx509.oid
val at_organizationalUnitName : Netx509.oid
val at_title : Netx509.oid
val at_dnQualifier : Netx509.oid
val at_countryName : Netx509.oid
val at_serialNumber : Netx509.oid
val at_pseudonym : Netx509.oid
val at_domainComponent : Netx509.oid
val at_emailAddress : Netx509.oid
val at_uid : Netx509.oid
val attribute_types : (Netx509.oid * string * string list) list
The above types in the format (oid, full_name, short_names)
val lookup_attribute_type_by_oid : Netx509.oid -> string * string list
Looks the OID up, and returns (full_name, short_names)
.
May raise Not_found
.
val lookup_attribute_type_by_name : string -> Netx509.oid * string * string list
Looks the name up, which can either be a full name or a short name.
Returns the whole triple (oid, full_name, short_names)
, or
raises Not_found
.