Struct google_gmail1::api::SmimeInfo
source · pub struct SmimeInfo {
pub encrypted_key_password: Option<String>,
pub expiration: Option<i64>,
pub id: Option<String>,
pub is_default: Option<bool>,
pub issuer_cn: Option<String>,
pub pem: Option<String>,
pub pkcs12: Option<Vec<u8>>,
}
Expand description
An S/MIME email config.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- settings send as smime info get users (response)
- settings send as smime info insert users (request|response)
Fields§
§encrypted_key_password: Option<String>
Encrypted key password, when key is encrypted.
expiration: Option<i64>
When the certificate expires (in milliseconds since epoch).
id: Option<String>
The immutable ID for the SmimeInfo.
is_default: Option<bool>
Whether this SmimeInfo is the default one for this user’s send-as address.
issuer_cn: Option<String>
The S/MIME certificate issuer’s common name.
pem: Option<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: Option<Vec<u8>>
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.