फ़ंक्शन GetCertificateChain [SWS_CRYPT_50096] Upstream: RS_CRYPTO_02306
virtual ara::core::Result< ara::core::Vector< Certificate::Sptrc > > GetCertificateChain () const noexcept=0;
Get the certificate chain found during certificate validation.
उपयोग
वर्ग ara::crypto::x509::CertificateValidationResult की विधि GetCertificateChain हेडर #include "ara/crypto/x509/certificate_validation_result.h" के माध्यम से प्रदान की जाती है [SWS_CRYPT_50096]। यह प्रमाणपत्र सत्यापन के दौरान पाई गई प्रमाणपत्र श्रृंखला को सिंक्रोनस रूप से प्राप्त करने का कार्य करती है [SWS_CRYPT_50096]।
इंटरफ़ेस किसी पैरामीटर की अपेक्षा नहीं करता है और सिंक्रोनस रूप से एक ara::core::Result<ara::core::Vector<Certificate::Sptrc>> लौटाता है [SWS_CRYPT_50096]। परिणामी वेक्टर में अनुक्रमणिका स्थिति 0 पर लीफ़ प्रमाणपत्र से शुरू होकर, सत्यापित श्रृंखला के प्रमाणपत्रों के स्मार्ट-पॉइंटर शामिल होते हैं [SWS_CRYPT_50096]।
त्रुटि प्रबंधन
इस फ़ंक्शन के लिए कोई मानकीकृत त्रुटियां निर्दिष्ट नहीं हैं [SWS_CRYPT_50096]। व्याख्या: चूंकि रिटर्न मान अभी भी ara::core::Result के रूप में टाइप किया गया है, इसलिए उत्पन्न होने वाले त्रुटि मामले पूरी तरह से निर्माता-विशिष्ट कार्यान्वयन विवरणों के कारण होने चाहिए। प्रश्न Q-967fe725a5505c11 (खुला)
समवर्तीता और प्रतिबंध
विधि को एक शुद्ध आभासी फ़ंक्शन के रूप में घोषित किया गया है, const और साथ ही noexcept के रूप में निर्दिष्ट किया गया है और स्पष्ट रूप से thread-safe और exception safe के रूप में निर्दिष्ट किया गया है [SWS_CRYPT_50096]। उसी इंस्टेंस पर समानांतर कॉल इस प्रकार बाहरी सिंक्रोनाइज़ेशन के बिना सुरक्षित रूप से संभव हैं।
इंटरैक्शन
यह फ़ंक्शन Adaptive Platform [SWS_CRYPT_50096] के मॉड्यूल crypt में उच्च-स्तरीय आवश्यकता [RS_CRYPTO_02306] को पूरा करता है।
यह पाठ AUTOSAR R25-11 के विनिर्देश के आधार पर एक AI सिस्टम द्वारा जनरेट किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)
| Header-Datei | #include "ara/crypto/x509/certificate_validation_result.h" |
|---|---|
| Scope | class ara::crypto::x509::CertificateValidationResult |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result<ara::core::Vector<Certificate::Sptrc > > | A vector containing the found certificate chain, beginning with the leaf certificate at position 0. |
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_50096- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50096@rel:R25-11#f088b324- Content hash
f088b324- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50096
Status: valid/unmigrated
Version: rel:R25-11#f119a26e
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_50096@rel:R25-11#f119a26e
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 · जर्मन मूल