Get
|
|||||
|
|
Gets the specified S/MIME config for the specified send-as alias
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Read, compose, send, and permanently delete all your email from Gmail
- View and modify but not delete your email
- View your email messages and settings
- Manage your basic mail settings
- Manage your sensitive mail settings, including who can manage your mail
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
The user's email address. The special value me can be used to indicate the authenticated user |
sendAsEmail Required |
STRING |
The email address that appears in the "From:" header for mail sent using this alias |
id Required |
STRING |
The immutable ID for the SmimeInfo |
= Parameter name
= Format
userId STRING Required The user's email address. The special value me can be used to indicate the authenticated user |
sendAsEmail STRING Required The email address that appears in the "From:" header for mail sent using this alias |
id STRING Required The immutable ID for the SmimeInfo |
Output
This building block provides 7 output parameters
Name | Format | Description |
---|---|---|
encryptedKeyPassword |
STRING |
Encrypted key password, when key is encrypted |
expiration |
INTEGER |
When the certificate expires (in milliseconds since epoch) |
id |
STRING |
The immutable ID for the SmimeInfo |
isDefault |
BOOLEAN |
Whether this SmimeInfo is the default one for this user's send-as address |
issuerCn |
STRING |
The S/MIME certificate issuer's common name |
pem |
STRING |
PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key) |
pkcs12 |
BINARY |
PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately |
= Parameter name
= Format
encryptedKeyPassword STRING Encrypted key password, when key is encrypted |
expiration INTEGER When the certificate expires (in milliseconds since epoch) |
id STRING The immutable ID for the SmimeInfo |
isDefault BOOLEAN Whether this SmimeInfo is the default one for this user's send-as address |
issuerCn STRING The S/MIME certificate issuer's common name |
pem STRING PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key) |
pkcs12 BINARY PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately |