pub struct SettingsSendAsSmimeInfoGetResponse {
pub encrypted_key_password: Option<String>,
pub expiration: Option<String>,
pub id: Option<String>,
pub is_default: Option<bool>,
pub issuer_cn: Option<String>,
pub pem: Option<String>,
pub pkcs12: Option<String>,
}Expand description
An S/MIME email config.
Fields§
§encrypted_key_password: Option<String>Encrypted key password, when key is encrypted.
expiration: Option<String>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<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.