Module GapiGmailV1Model.SmimeInfo

type t = {
encryptedKeyPassword : string;(*

Encrypted key password, when key is encrypted.

*)
expiration : int64;(*

When the certificate expires (in milliseconds since epoch).

*)
id : string;(*

The immutable ID for the SmimeInfo.

*)
isDefault : bool;(*

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

*)
issuerCn : string;(*

The S/MIME certificate issuer's common name.

*)
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).

*)
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