Module X509_async.Distinguished_name
type attribute = X509.Distinguished_name.attribute =
| CN of string
| Serialnumber of string
| C of string
| L of string
| ST of string
| O of string
| OU of string
| T of string
| DNQ of string
| Mail of string
| DC of string
| Given_name of string
| Surname of string
| Initials of string
| Pseudonym of string
| Generation of string
| Street of string
| Userid of string
| Other of Asn.oid * string
module Relative_distinguished_name =
X509.Distinguished_name.Relative_distinguished_name
type t = Relative_distinguished_name.t list
val equal : t -> t -> bool
val make_pp :
format:[ `OSF | `OpenSSL | `RFC4514 ] ->
?spacing:[ `Loose | `Medium | `Tight ] ->
unit ->
t Fmt.t
val common_name : t -> string option
val encode_der : t -> string
val decode_der : contents:string -> t Core.Or_error.t