함수 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#7c3b167c- Content hash
7c3b167c- 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 · 독일어 원문