pub struct CseKeyPair {
pub disable_time: Option<DateTime<Utc>>,
pub enablement_state: Option<String>,
pub key_pair_id: Option<String>,
pub pem: Option<String>,
pub pkcs7: Option<String>,
pub private_key_metadata: Option<Vec<CsePrivateKeyMetadata>>,
pub subject_email_addresses: Option<Vec<String>>,
}Expand description
A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key. Gmail uses the key pair to complete the following tasks: - Sign outgoing client-side encrypted messages. - Save and reopen drafts of client-side encrypted messages. - Save and reopen sent messages. - Decrypt incoming or archived S/MIME messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing their own identities and keypairs, requests require hardware key encryption turned on and configured.
§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 cse keypairs create users (request|response)
- settings cse keypairs disable users (response)
- settings cse keypairs enable users (response)
- settings cse keypairs get users (response)
Fields§
§disable_time: Option<DateTime<Utc>>Output only. If a key pair is set to DISABLED, the time that the key pair’s state changed from ENABLED to DISABLED. This field is present only when the key pair is in state DISABLED.
enablement_state: Option<String>Output only. The current state of the key pair.
key_pair_id: Option<String>Output only. The immutable ID for the client-side encryption S/MIME key pair.
pem: Option<String>Output only. The public key and its certificate chain, in PEM format.
pkcs7: Option<String>Input only. The public key and its certificate chain. The chain must be in PKCS#7 format and use PEM encoding and ASCII armor.
private_key_metadata: Option<Vec<CsePrivateKeyMetadata>>Metadata for instances of this key pair’s private key.
subject_email_addresses: Option<Vec<String>>Output only. The email address identities that are specified on the leaf certificate.
Trait Implementations§
Source§impl Clone for CseKeyPair
impl Clone for CseKeyPair
Source§fn clone(&self) -> CseKeyPair
fn clone(&self) -> CseKeyPair
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more