CseIdentity class
The client-side encryption (CSE) configuration for the email address of an authenticated user.
Gmail uses CSE configurations to save drafts of client-side encrypted email
messages, and to sign and send encrypted email 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.cn/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
- CseIdentity.new({String? emailAddress, String? primaryKeyPairId, SignAndEncryptKeyPairs? signAndEncryptKeyPairs})
- CseIdentity.fromJson(Map json_)
Properties
- emailAddress ↔ String?
-
The email address for the sending identity.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- primaryKeyPairId ↔ String?
-
If a key pair is associated, the ID of the key pair, CseKeyPair.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signAndEncryptKeyPairs ↔ SignAndEncryptKeyPairs?
-
The configuration of a CSE identity that uses different key pairs for
signing and encryption.
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