Class CseKeyPair
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.
Implements
Inherited Members
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class CseKeyPair : IDirectResponseSchema
Properties
DisableTime
object representation of DisableTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DisableTimeDateTimeOffset instead.")]
public virtual object DisableTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
DisableTimeDateTimeOffset
DateTimeOffset representation of DisableTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DisableTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
DisableTimeRaw
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.
Declaration
[JsonProperty("disableTime")]
public virtual string DisableTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnablementState
Output only. The current state of the key pair.
Declaration
[JsonProperty("enablementState")]
public virtual string EnablementState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
KeyPairId
Output only. The immutable ID for the client-side encryption S/MIME key pair.
Declaration
[JsonProperty("keyPairId")]
public virtual string KeyPairId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Pem
Output only. The public key and its certificate chain, in PEM format.
Declaration
[JsonProperty("pem")]
public virtual string Pem { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Pkcs7
Input only. The public key and its certificate chain. The chain must be in PKCS#7 format and use PEM encoding and ASCII armor.
Declaration
[JsonProperty("pkcs7")]
public virtual string Pkcs7 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PrivateKeyMetadata
Metadata for instances of this key pair's private key.
Declaration
[JsonProperty("privateKeyMetadata")]
public virtual IList<CsePrivateKeyMetadata> PrivateKeyMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<CsePrivateKeyMetadata> |
SubjectEmailAddresses
Output only. The email address identities that are specified on the leaf certificate.
Declaration
[JsonProperty("subjectEmailAddresses")]
public virtual IList<string> SubjectEmailAddresses { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |