{"id": string,"issuerCn": string,"isDefault": boolean,"expiration": string,"encryptedKeyPassword": string,// Union field key can be only one of the following:"pem": string,"pkcs12": string// End of list of possible types for union field key.}
Felder
id
string
Die unveränderliche ID für die SmimeInfo.
issuerCn
string
Der allgemeine Name des Ausstellers des S/MIME-Zertifikats.
isDefault
boolean
Gibt an, ob diese SmimeInfo die Standard-SmimeInfo für die Absenderadresse dieses Nutzers ist.
Wann das Zertifikat abläuft (in Millisekunden seit der Epoche).
encryptedKeyPassword
string
Passwort für verschlüsselten Schlüssel, wenn der Schlüssel verschlüsselt ist.
Union-Feld key. Der S/MIME-Schlüssel, der je nach erwartetem und verwendetem Format aus verschiedenen Kombinationen des öffentlichen Schlüssels, des privaten Schlüssels und der Zertifikatskette bestehen kann. Für key ist nur einer der folgenden Werte zulässig:
pem
string
PEM-formatierter X509-verketteter Zertifikatsstring (standardmäßige Base64-Codierung). Format, das für die Rückgabe des Schlüssels verwendet wird. Enthält den öffentlichen Schlüssel sowie die Zertifikatskette (kein privater Schlüssel).
PKCS#12-Format mit einem einzelnen privaten/öffentlichen Schlüsselpaar und einer Zertifikatskette. Dieses Format wird nur vom Client zum Erstellen einer neuen SmimeInfo akzeptiert und nie zurückgegeben, da der private Schlüssel nicht exportiert werden soll. PKCS#12 kann verschlüsselt sein. In diesem Fall muss das Passwort für den verschlüsselten Schlüssel entsprechend festgelegt werden.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["- [Resource: SmimeInfo](#SmimeInfo)\n - [JSON representation](#SmimeInfo.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SmimeInfo An S/MIME email config.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"issuerCn\": string, \"isDefault\": boolean, \"expiration\": string, \"encryptedKeyPassword\": string, // Union field `key` can be only one of the following: \"pem\": string, \"pkcs12\": string // End of list of possible types for union field `key`. } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The immutable ID for the SmimeInfo. |\n| `issuerCn` | `string` The S/MIME certificate issuer's common name. |\n| `isDefault` | `boolean` Whether this SmimeInfo is the default one for this user's send-as address. |\n| `expiration` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` When the certificate expires (in milliseconds since epoch). |\n| `encryptedKeyPassword` | `string` Encrypted key password, when key is encrypted. |\n| Union field `key`. The S/MIME \"key\", which may consist of various combinations of the public key, private key, and certificate chain depending on the format expected and used. `key` can be only one of the following: ||\n| `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). |\n| `pkcs12` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` 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. A base64-encoded string. |\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|\n| [delete](/workspace/gmail/api/reference/rest/v1/users.settings.sendAs.smimeInfo/delete) | Deletes the specified S/MIME config for the specified send-as alias. |\n| [get](/workspace/gmail/api/reference/rest/v1/users.settings.sendAs.smimeInfo/get) | Gets the specified S/MIME config for the specified send-as alias. |\n| [insert](/workspace/gmail/api/reference/rest/v1/users.settings.sendAs.smimeInfo/insert) | Insert (upload) the given S/MIME config for the specified send-as alias. |\n| [list](/workspace/gmail/api/reference/rest/v1/users.settings.sendAs.smimeInfo/list) | Lists S/MIME configs for the specified send-as alias. |\n| [setDefault](/workspace/gmail/api/reference/rest/v1/users.settings.sendAs.smimeInfo/setDefault) | Sets the default S/MIME config for the specified send-as alias. |"]]