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. Providing more than one option results in an InvalidArgsException error.

Sourcetype nonrec t = {
  1. otherName : OtherName.t option;
    (*

    Represents GeneralName using an OtherName object.

    *)
  2. rfc822Name : String256.t option;
    (*

    Represents GeneralName as an RFC 822 email address.

    *)
  3. dnsName : String253.t option;
    (*

    Represents GeneralName as a DNS name.

    *)
  4. directoryName : ASN1Subject.t option;
  5. ediPartyName : EdiPartyName.t option;
    (*

    Represents GeneralName as an EdiPartyName object.

    *)
  6. uniformResourceIdentifier : String253.t option;
    (*

    Represents GeneralName as a URI.

    *)
  7. ipAddress : String39.t option;
    (*

    Represents GeneralName as an IPv4 or IPv6 address.

    *)
  8. registeredId : CustomObjectIdentifier.t option;
    (*

    Represents GeneralName as an object identifier (OID).

    *)
}
Sourceval make : ?otherName:??? -> ?rfc822Name:??? -> ?dnsName:??? -> ?directoryName:??? -> ?ediPartyName:??? -> ?uniformResourceIdentifier:??? -> ?ipAddress:??? -> ?registeredId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String256.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of CustomObjectIdentifier.t ]) list ] list | `String of CustomObjectIdentifier.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