Values.X509AttributesSourceContains X.509 certificate attributes extracted from the certificate.
type nonrec t = {issuer : DistinguishedName.t option;The distinguished name of the certificate issuer.
*)subject : DistinguishedName.t option;The distinguished name of the certificate subject.
*)subjectAlternativeNames : GeneralNameList.t option;One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
*)extendedKeyUsages : ExtendedKeyUsageNames.t option;Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
*)keyAlgorithm : KeyAlgorithm.t option;The algorithm that was used to generate the public-private key pair.
*)keyUsages : KeyUsageNames.t option;A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
*)serialNumber : SerialNumber.t option;The serial number assigned by the certificate authority.
*)notAfter : TStamp.t option;The time after which the certificate is not valid.
*)notBefore : TStamp.t option;The time before which the certificate is not valid.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Enum of string
| `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `List of
[> `String of String_.t
| `Structure of
(string * [> `String of String_.t ]) list ]
list
| `String of String_.t ])
list ])
list ]
list
| `String of SerialNumber.t
| `Structure of
(string
* [> `List of
[> `String of String_.t
| `Structure of (string * [> `String of String_.t ]) list ]
list
| `String of String_.t ])
list
| `Timestamp of TStamp.t ])
list ]