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.
§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 moreSource§impl Debug for CseKeyPair
impl Debug for CseKeyPair
Source§impl Default for CseKeyPair
impl Default for CseKeyPair
Source§fn default() -> CseKeyPair
fn default() -> CseKeyPair
Source§impl<'de> Deserialize<'de> for CseKeyPair
impl<'de> Deserialize<'de> for CseKeyPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for CseKeyPair
impl Serialize for CseKeyPair
impl RequestValue for CseKeyPair
impl ResponseResult for CseKeyPair
Auto Trait Implementations§
impl Freeze for CseKeyPair
impl RefUnwindSafe for CseKeyPair
impl Send for CseKeyPair
impl Sync for CseKeyPair
impl Unpin for CseKeyPair
impl UnwindSafe for CseKeyPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more