फ़ंक्शन GetCertificates [SWS_CRYPT_50131] Upstream: RS_CRYPTO_02306
virtual ara::core::Result< ara::core::Vector< Certificate::Sptrc > > GetCertificates () const noexcept=0;
Get the certificates contained in the OCSP response.
उपयोग
इंटरफ़ेस ara::crypto::x509::OcspResponse ([SWS_CRYPT_50131]) की विधि GetCertificates प्राप्त OCSP प्रतिक्रिया में एम्बेडेड सभी प्रमाणपत्रों को सिंक्रोनस रूप से पुनर्प्राप्त करने का कार्य करती है। कॉल हेडर ara/crypto/x509/ocsp_response.h ([SWS_CRYPT_50131]) के माध्यम से OcspResponse के एक इंस्टेंस पर पैरामीटर रहित की जाती है। रिटर्न मान के रूप में, फ़ंक्शन एक ara::core::Result<ara::core::Vector<Certificate::Sptrc>> ([SWS_CRYPT_50131]) प्रदान करता है, जो सफल निष्पादन पर शामिल प्रमाणपत्र ऑब्जेक्ट्स के स्मार्ट-पॉइंटर्स के साथ एक वेक्टर उपलब्ध कराता है।
त्रुटि प्रबंधन
विनिर्देश के अनुसार, फ़ंक्शन किसी भी मानकीकृत त्रुटि कोड को परिभाषित नहीं करता है ([SWS_CRYPT_50131])। व्याख्या: रिटर्न प्रकार ara::core::Result में समावेशन के कारण, कॉलर को अभी भी किसी भी कार्यान्वयन-विशिष्ट त्रुटि स्थिति की जांच करनी पड़ सकती है, भले ही AUTOSAR इस विधि के लिए कोई मानकीकृत त्रुटि प्रदान नहीं करता है ([SWS_CRYPT_50131])। प्रश्न Q-d37b6b547d25b17f (खुला)
समवर्तीता और प्रतिबंध
इंटरफ़ेस परिभाषा GetCertificates को const और साथ ही noexcept के रूप में निर्दिष्ट करती है ([SWS_CRYPT_50131])। इसके अलावा, फ़ंक्शन को thread-safe और exception-safe के रूप में निर्दिष्ट किया गया है ([SWS_CRYPT_50131])। इसलिए कॉलर्स बाहरी सिंक्रोनाइज़ेशन तंत्र की आवश्यकता के बिना कई थ्रेड्स से इस विधि को समानांतर रूप से समवर्ती निष्पादित कर सकते हैं।
यह पाठ AUTOSAR विनिर्देशों के आधार पर स्वचालित रूप से उत्पन्न हुआ था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)
| Header-Datei | #include "ara/crypto/x509/ocsp_response.h" |
|---|---|
| Scope | class ara::crypto::x509::OcspResponse |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result<ara::core::Vector<Certificate::Sptrc > > | A Vector containing the certificates contained in the OCSP response. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| This function does not specify any standardized errors. | |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_50131- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50131@rel:R25-11#dcb9403c- Content hash
dcb9403c- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50131
Status: valid/unmigrated
Version: rel:R25-11#dbb9122d
Versionshistorie & Revisions (1 transition)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_CRYPT_50131@rel:R25-11#dbb9122d
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · जर्मन मूल