함수 ClearCertificateSlot [SWS_CRYPT_40622] Upstream: RS_CRYPTO_02306
virtual ara::core::Result< bool > ClearCertificateSlot (const ara::core::InstanceSpecifier &instanceSpecifier) noexcept=0;
Clear the certificate slot identified by the passed instance specifier.
사용
클래스 ara::crypto::x509::X509Provider의 동기 메서드 ClearCertificateSlot은 매개변수 instanceSpecifier를 통해 지정된 인증서 슬롯 [SWS_CRYPT_40622]을 비웁니다. 이 메서드는 ara::core::Result<bool>를 반환합니다: 기존 인증서가 성공적으로 삭제된 경우 반환값은 true이고, 슬롯이 이미 비어 있었던 경우 false입니다 [SWS_CRYPT_40622].
오류 처리 및 제한 사항
작업을 일시적으로 실행할 수 없는 경우, 함수는 롤백 시맨틱을 갖는 오류 코드 ara::crypto::CryptoErrc::kBusyResource을 반환합니다 [SWS_CRYPT_40622]. 또한 특정 모델링 및 접근 전제 조건이 정의되어 있습니다:
ProcessMappingViolation:InstanceSpecifier이 현재 프로세스를 위해 모델링된 인터페이스CryptoCertificateInterface을 갖는PortPrototype을 가리키지 않을 때 발생합니다 [SWS_CRYPT_40622].InsufficientPermissionsViolation: 현재 프로세스에 쓰기 권한이 없는 경우, 즉CryptoCertificateToPortPrototypeMapping.writeAccess != True이 설정되어 있을 때 발생합니다 [SWS_CRYPT_40622].
동시성
인터페이스는 noexcept(으)로 지정되어 있으며, 예외 안전(exception safe)하고 동시 호출에 대해 스레드 안전(thread-safe)하도록 명시되어 있습니다 [SWS_CRYPT_40622].
이 사용 지침은 사양 데이터를 기반으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/crypto/x509/x509_provider.h" |
|---|---|
| Scope | class ara::crypto::x509::X509Provider |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Verletzungen (Violations) | ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateToPortPrototypeMapping.writeAccess != True |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| instanceSpecifier | An instance specifier identifying a storage location of a certificate. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< bool > | true if the slot contained a certificate which has been successfully removed false if the slot contained no certificate. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ara::crypto::CryptoErrc::kBusyResource | rollback_semantics if the operation temporarily cannot be performed |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_40622- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_40622@rel:R25-11#c46d2142- Content hash
c46d2142- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_40622
Status: valid/unmigrated
Version: rel:R25-11#c87d5644
Versionshistorie & Revisions (1 transition, 8 revision)
- 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_40622@rel:R25-11#c87d5644
Recorded Revisions (8):
- R25-11
rel:R25-11#4acf5aaa2026-09-30 - R19-11
rel:R19-11#9a648bef2026-10-14 - R20-11
rel:R20-11#9816a1ad2026-10-14 - R21-11
rel:R21-11#be9e5a522026-10-14 - R22-11
rel:R22-11#a6750b412026-10-14 - R23-11
rel:R23-11#c52c6c322026-10-14 - R24-11
rel:R24-11#a2473ff72026-10-14 - R25-11
rel:R25-11#c87d56442026-10-14 active
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 · 독일어 원문