function 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.
use
The method GetCertificateChain of class ara::crypto::x509::CertificateValidationResult is provided via header #include "ara/crypto/x509/certificate_validation_result.h" [SWS_CRYPT_50096]. It serves to synchronously retrieve the certificate chain found during the course of a certificate validation [SWS_CRYPT_50096].
The interface expects no parameters and synchronously returns an ara::core::Result<ara::core::Vector<Certificate::Sptrc>> [SWS_CRYPT_50096]. The resulting vector contains smart pointers to the certificates of the validated chain, starting with the leaf certificate at index position 0 [SWS_CRYPT_50096].
Error handling
No standardized errors are specified for this function [SWS_CRYPT_50096]. Interpretation: Because the return value is nevertheless typed as ara::core::Result, occurring error cases should be attributable exclusively to vendor-specific implementation details. Question Q-967fe725a5505c11 (open)
Concurrency and Limitations
The method is declared as a pure virtual function, identified as const as well as noexcept, and explicitly specified as thread-safe as well as exception safe [SWS_CRYPT_50096]. Parallel calls on the same instance are thus safely possible without external synchronization.
Interaction
The function fulfills the overarching requirement [RS_CRYPTO_02306] in module crypt of the Adaptive Platform [SWS_CRYPT_50096].
This text was generated by an AI system based on the AUTOSAR R25-11 specification.
Implementer's Guide to follow (complexity 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#f119a26e- Content hash
f119a26e- 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 · German original