REST Resource: users.settings.sendAs.smimeInfo
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: SmimeInfo
S/MIME ईमेल कॉन्फ़िगरेशन.
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 के लिए बदला न जा सकने वाला आईडी.
|
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 कॉन्फ़िगरेशन सेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]