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