함수 Cancel [SWS_CRYPT_50069] Upstream: RS_CRYPTO_02302
virtual ara::core::Result< void > Cancel () noexcept=0;
Cancel the ongoing streaming operation that has been initiated by Start() and has not yet been finished.
ara/crypto/cryp/decryptor_private_ctx.h에 정의된 ara::crypto::cryp::DecryptorPrivateCtx 클래스의 메서드 Cancel은 이전에 Start()을 통해 시작되었으나 아직 완료되지 않은 진행 중인 스트리밍 연산을 취소합니다 [SWS_CRYPT_50069]. 호출은 전달 매개변수를 받지 않으며 반환값으로 ara::core::Result<void>을 제공합니다 [SWS_CRYPT_50069]. 스트리밍 처리 취소가 성공한 경우 객체는 비어 있는 결과를 포함하며, 그렇지 않은 경우 발생한 오류를 전달합니다 [SWS_CRYPT_50069]. 순수 가상 인터페이스는 noexcept(으)로 선언되어 있고 완전한 예외 안전성을 나타내며 동시 접근에 대해 thread-safe로 지정되어 있습니다 [SWS_CRYPT_50069].
오류 처리 및 실행 조건에서는 정확한 순서를 준수해야 합니다: 메서드 Start()의 호출을 통해 데이터 처리가 사전에 시작되지 않은 경우, 연산은 실패하고 롤백 시맨틱과 함께 특정 오류 코드 ara::crypto::CryptoErrc::kProcessingNotStarted을 반환합니다 [SWS_CRYPT_50069]. 따라서 호출자는 이러한 오류 상태를 방지하기 위해 취소 전에 이미 활성 연산이 존재하는지 확인해야 합니다 [SWS_CRYPT_50069].
crypt의 전체 모듈 아키텍처와의 상호 작용에서 Cancel은 상태를 갖는 스트리밍 프로세스에 대한 표준화된 디자인 패턴을 따릅니다. 동일한 시그니처, 반환 시맨틱 및 오류 처리를 관련 암호화 컨텍스트인 ara::crypto::cryp::VerifierPublicCtx [SWS_CRYPT_50023], ara::crypto::cryp::MessageAuthnCodeCtx [SWS_CRYPT_50027], ara::crypto::cryp::SignerPrivateCtx [SWS_CRYPT_50041], ara::crypto::cryp::SymmetricCipherCtx [SWS_CRYPT_50046], ara::crypto::cryp::HashFunctionCtx [SWS_CRYPT_50058], ara::crypto::cryp::AuthCipherCtx [SWS_CRYPT_50077] 및 ara::crypto::cryp::EncryptorPublicCtx [SWS_CRYPT_50089]이 공유합니다.
이 사용 지침은 AUTOSAR 사양 R25-11을 바탕으로 자동 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/crypto/cryp/decryptor_private_ctx.h" |
|---|---|
| Scope | class ara::crypto::cryp::DecryptorPrivateCtx |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< void > | an empty result if the ongoing streaming operation was cancelled successfully, or a result containing an error |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ara::crypto::CryptoErrc::kProcessingNotStarted | rollback_semantics if data processing was not started by a call of the Start() method |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_50069- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50069@rel:R25-11#9e4c0ed2- Content hash
9e4c0ed2- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50069
Status: valid/unmigrated
Version: rel:R25-11#2a0972af
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_50069@rel:R25-11#2a0972af
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 · 독일어 원문