함수 Cancel [SWS_CRYPT_50041] 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.
메서드 Cancel()은 이전에 Start() 호출을 통해 시작되었으나 아직 완료되지 않은 ara::crypto::cryp::SignerPrivateCtx 클래스 내의 진행 중인 스트리밍 연산을 동기적으로 취소하는 데 사용됩니다 [SWS_CRYPT_50041]. 순수 가상 인터페이스 virtual ara::core::Result<void> Cancel() noexcept = 0;는 헤더 ara/crypto/cryp/signer_private_ctx.h에 선언되어 있으며, 전달 매개변수를 받지 않고 비어 있는 ara::core::Result<void>을 통해 성공적인 취소를 알립니다 [SWS_CRYPT_50041]. 호출자 관점에서 이 메서드는 예외 안전(exception safe) 및 동시성 스레드 안전(thread-safe)으로 명시되어 있습니다 [SWS_CRYPT_50041].
호출 순서 및 오류 처리와 관련하여 Cancel()은 반드시 활성 처리를 전제로 합니다: 이전에 메서드 Start()의 호출을 통해 데이터 처리가 시작되지 않았다면 취소가 실패하고 정의된 롤백 시맨틱과 함께 오류 코드 ara::crypto::CryptoErrc::kProcessingNotStarted를 반환합니다 [SWS_CRYPT_50041]. 해석: Cancel()가 성공적으로 호출된 후에는 컨텍스트가 다시 시작되지 않은 기본 상태로 돌아가 새로운 서명 또는 스트리밍 프로세스를 시작할 수 있을 것으로 보입니다. 질문 Q-348fb3ae43e424c9 (열림)
이 설계는 암호화 모듈의 모든 스트리밍 연산에 대한 통일된 원칙을 따릅니다. VerifierPublicCtx [SWS_CRYPT_50023], MessageAuthnCodeCtx [SWS_CRYPT_50027], SymmetricCipherCtx [SWS_CRYPT_50046], HashFunctionCtx [SWS_CRYPT_50058], DecryptorPrivateCtx [SWS_CRYPT_50069], AuthCipherCtx [SWS_CRYPT_50077] 및 EncryptorPublicCtx [SWS_CRYPT_50089]과 같은 관련 컨텍스트에 대해 완전히 동일한 시그니처 및 오류 시맨틱이 존재합니다.
이 사용 참고 사항은 AUTOSAR Adaptive 사양 요구사항을 기반으로 자동으로 생성되었습니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/crypto/cryp/signer_private_ctx.h" |
|---|---|
| Scope | class ara::crypto::cryp::SignerPrivateCtx |
| 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_50041- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50041@rel:R25-11#145832c0- Content hash
145832c0- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50041
Status: valid/unmigrated
Version: rel:R25-11#5f721a2b
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_50041@rel:R25-11#5f721a2b
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 · 독일어 원문