package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. encryptedKeyPassword : string;
    (*

    Encrypted key password, when key is encrypted.

    *)
  2. expiration : int64;
    (*

    When the certificate expires (in milliseconds since epoch).

    *)
  3. id : string;
    (*

    The immutable ID for the SmimeInfo.

    *)
  4. isDefault : bool;
    (*

    Whether this SmimeInfo is the default one for this user's send-as address.

    *)
  5. issuerCn : string;
    (*

    The S/MIME certificate issuer's common name.

    *)
  6. pem : string;
    (*

    PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).

    *)
  7. pkcs12 : string;
    (*

    PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.

    *)
}
val encryptedKeyPassword : (t, string) GapiLens.t
val expiration : (t, int64) GapiLens.t
val id : (t, string) GapiLens.t
val isDefault : (t, bool) GapiLens.t
val issuerCn : (t, string) GapiLens.t
val pem : (t, string) GapiLens.t
val pkcs12 : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.