CseKeyPair class
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](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority)
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.
Constructors
- 
          CseKeyPair({String? disableTime, String? enablementState, String? keyPairId, String? pem, String? pkcs7, List<CsePrivateKeyMetadata> ? privateKeyMetadata, List<String> ? subjectEmailAddresses})
- CseKeyPair.fromJson(Map json_)
Properties
- disableTime ↔ String?
- 
  If a key pair is set to DISABLED, the time that the key pair's state changed fromENABLEDtoDISABLED.getter/setter pair
- enablementState ↔ String?
- 
  The current state of the key pair.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- keyPairId ↔ String?
- 
  The immutable ID for the client-side encryption S/MIME key pair.
  getter/setter pair
- pem ↔ String?
- 
  The public key and its certificate chain, in
PEM format.
  getter/setter pair
- pkcs7 ↔ String?
- 
  Input only.
  getter/setter pair
- 
  privateKeyMetadata
  ↔ List<CsePrivateKeyMetadata> ?
- 
  Metadata for instances of this key pair's private key.
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  subjectEmailAddresses
  ↔ List<String> ?
- 
  The email address identities that are specified on the leaf certificate.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited