Module Values.GeneralNameSource

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be provided.

Sourcetype nonrec t = {
  1. directoryName : DistinguishedName.t option;
    (*

    Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.

    *)
  2. dnsName : String_.t option;
    (*

    Represents GeneralName as a DNS name.

    *)
  3. ipAddress : String_.t option;
    (*

    Represents GeneralName as an IPv4 or IPv6 address.

    *)
  4. otherName : OtherName.t option;
    (*

    Represents GeneralName using an OtherName object.

    *)
  5. registeredId : String_.t option;
    (*

    Represents GeneralName as an object identifier (OID).

    *)
  6. rfc822Name : String_.t option;
    (*

    Represents GeneralName as an RFC 822 email address.

    *)
  7. uniformResourceIdentifier : String_.t option;
    (*

    Represents GeneralName as a URI.

    *)
}
Sourceval make : ?directoryName:??? -> ?dnsName:??? -> ?ipAddress:??? -> ?otherName:??? -> ?registeredId:??? -> ?rfc822Name:??? -> ?uniformResourceIdentifier:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t