package x509

  1. Overview
  2. Docs

Module Distinguished_name.Other_attribute

Attributes whose OIDs have no named constructor.

type t
val create : Asn.oid -> Encoded_string.encoding Encoded_string.t -> (t, [ `Msg of string ]) result

create oid value rejects OIDs represented by a named constructor. No attribute-specific constraints are checked for unknown OIDs.

val oid : t -> Asn.oid

oid t is the ASN.1 OID of t.

value t is the value of t with the string encoding.