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가 이 사용자의 발신자 주소에 대한 기본 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 구성을 설정합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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. |"]]