{"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 هذا هو العنصر التلقائي لعنوان "المُرسِل بالنيابة عن" هذا المستخدم.
عند انتهاء صلاحية الشهادة (بالملي ثانية منذ تاريخ بدء حساب الفترة)
encryptedKeyPassword
string
كلمة مرور المفتاح المشفَّر، عندما يكون المفتاح مشفَّرًا
حقل الربط key "مفتاح" S/MIME، الذي قد يتألف من مجموعات مختلفة من المفتاح العام والمفتاح الخاص وسلسلة الشهادات استنادًا إلى التنسيق المتوقّع والمستخدَم. يمكن أن يكون key واحدًا فقط مما يلي:
pem
string
سلسلة شهادة X509 متسلسلة بتنسيق PEM (ترميز base64 العادي) التنسيق المستخدَم لعرض المفتاح، والذي يتضمّن المفتاح العام بالإضافة إلى سلسلة الشهادات (وليس المفتاح الخاص)
تنسيق PKCS#12 الذي يحتوي على مفتاحَي تشفير عام/خاص وسلسلة شهادات لا يتم قبول هذا التنسيق من العميل إلا لإنشاء SmimeInfo جديد، ولا يتم إرجاعه مطلقًا، لأنّه لا يُقصد تصدير المفتاح الخاص. قد يكون ملف PKCS 12 مشفَّرًا، وفي هذه الحالة يجب ضبط encryptedKeyPassword بشكلٍ مناسب.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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. |"]]