List
|
|||||
|
|
Lists S/MIME configs 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 2 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 |
= 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 |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
smimeInfo[] |
OBJECT |
An S/MIME email config |
smimeInfo[].encryptedKeyPassword |
STRING |
Encrypted key password, when key is encrypted |
smimeInfo[].expiration |
INTEGER |
When the certificate expires (in milliseconds since epoch) |
smimeInfo[].id |
STRING |
The immutable ID for the SmimeInfo |
smimeInfo[].isDefault |
BOOLEAN |
Whether this SmimeInfo is the default one for this user's send-as address |
smimeInfo[].issuerCn |
STRING |
The S/MIME certificate issuer's common name |
smimeInfo[].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) |
smimeInfo[].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
smimeInfo[] OBJECT An S/MIME email config |
smimeInfo[].encryptedKeyPassword STRING Encrypted key password, when key is encrypted |
smimeInfo[].expiration INTEGER When the certificate expires (in milliseconds since epoch) |
smimeInfo[].id STRING The immutable ID for the SmimeInfo |
smimeInfo[].isDefault BOOLEAN Whether this SmimeInfo is the default one for this user's send-as address |
smimeInfo[].issuerCn STRING The S/MIME certificate issuer's common name |
smimeInfo[].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) |
smimeInfo[].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 |