Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
X.500 distinguished name
type _ k =
| CN : string k
| Serialnumber : string k
| C : string k
| L : string k
| SP : string k
| O : string k
| OU : string k
| T : string k
| DNQ : string k
| Mail : string k
| DC : string k
| Given_name : string k
| Surname : string k
| Initials : string k
| Pseudonym : string k
| Generation : string k
| Other : Asn.oid -> string k
The polymorphic variant of a distinguished name component, as defined in X.500.
A distinguished name is a list of component
.
val pp : t Fmt.t
pp ppf dn
pretty-prints the distinguished name.
val decode_der : Cstruct.t -> (t, [> Rresult.R.msg ]) Rresult.result
decode_der cs
is dn
, the ASN.1 decoded distinguished name of cs
.
val encode_der : t -> Cstruct.t
encode_der dn
is cstruct
, the ASN.1 encoded representation of the distinguished name dn
.