REST Resource: users.settings.sendAs.smimeInfo
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リソース: SmimeInfo
JSON 表現 |
{
"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 .
} |
フィールド |
id |
string
SmimeInfo の不変の ID。
|
issuerCn |
string
S/MIME 証明書の発行元の共通名。
|
isDefault |
boolean
この SmimeInfo が、このユーザーの送信元アドレスのデフォルトかどうか。
|
expiration |
string (int64 format)
証明書の有効期限(エポックからのミリ秒単位)。
|
encryptedKeyPassword |
string
暗号化された鍵のパスワード(鍵が暗号化されている場合)。
|
共用体フィールド key 。S/MIME の「鍵」。これは、想定される形式と使用される形式に応じて、公開鍵、秘密鍵、証明書チェーンのさまざまな組み合わせで構成できます。key は次のいずれかになります。 |
pem |
string
PEM 形式の X509 連結証明書文字列(標準 Base64 エンコード)。鍵を返す際に使用される形式。公開鍵と証明書チェーン(秘密鍵ではない)が含まれます。
|
pkcs12 |
string (bytes format)
単一の秘密鍵/公開鍵ペアと証明書チェーンを含む PKCS#12 形式。この形式は、新しい SmimeInfo の作成のためにクライアントからのみ受け入れられ、秘密鍵はエクスポートされないため、返されることはありません。PKCS#12 は暗号化されている場合があります。この場合は、encryptedKeyPassword を適切に設定する必要があります。 Base64 でエンコードされた文字列。
|
メソッド |
|
指定された送信者エイリアスの指定された S/MIME 構成を削除します。 |
|
指定された送信者エイリアスの指定された S/MIME 構成を取得します。 |
|
指定された送信元エイリアスの S/MIME 構成を挿入(アップロード)します。 |
|
指定された送信者エイリアスの S/MIME 構成を一覧表示します。 |
|
指定された送信者エイリアスのデフォルトの S/MIME 構成を設定します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# REST Resource: users.settings.sendAs.smimeInfo\n\n- [Resource: SmimeInfo](#SmimeInfo)\n - [JSON representation](#SmimeInfo.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SmimeInfo\n-------------------\n\nAn 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. |"]]