Module Values.KeyUsageSource

Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.

Sourcetype nonrec t = {
  1. digitalSignature : Boolean.t option;
    (*

    Key can be used for digital signing.

    *)
  2. nonRepudiation : Boolean.t option;
    (*

    Key can be used for non-repudiation.

    *)
  3. keyEncipherment : Boolean.t option;
    (*

    Key can be used to encipher data.

    *)
  4. dataEncipherment : Boolean.t option;
    (*

    Key can be used to decipher data.

    *)
  5. keyAgreement : Boolean.t option;
    (*

    Key can be used in a key-agreement protocol.

    *)
  6. keyCertSign : Boolean.t option;
    (*

    Key can be used to sign certificates.

    *)
  7. cRLSign : Boolean.t option;
    (*

    Key can be used to sign CRLs.

    *)
  8. encipherOnly : Boolean.t option;
    (*

    Key can be used only to encipher data.

    *)
  9. decipherOnly : Boolean.t option;
    (*

    Key can be used only to decipher data.

    *)
}
Sourceval make : ?digitalSignature:??? -> ?nonRepudiation:??? -> ?keyEncipherment:??? -> ?dataEncipherment:??? -> ?keyAgreement:??? -> ?keyCertSign:??? -> ?cRLSign:??? -> ?encipherOnly:??? -> ?decipherOnly:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t ]) 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