함수 Cancel [SWS_CRYPT_50046] 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::SymmetricCipherCtx 클래스의 동기 메서드 Cancel()은(는) 이전에 Start()(으)로 시작되어 아직 완료되지 않은 진행 중인 스트리밍 작업을 조기에 중단하는 역할을 합니다[SWS_CRYPT_50046]. 이 인터페이스는 ara/crypto/cryp/symmetric_cipher_ctx.h에 매개변수 없이 선언되어 있으며, 성공적으로 실행되면 비어 있는 ara::core::Result<void>을(를) 반환합니다[SWS_CRYPT_50046].
사전에 Start() 호출을 통해 데이터 처리가 시작되지 않은 경우, 이 작업은 특정 오류 코드 ara::crypto::CryptoErrc::kProcessingNotStarted 및 롤백 시맨틱과 함께 실패합니다[SWS_CRYPT_50046]. 호출 컨텍스트에 대해 명세는 noexcept 선언[SWS_CRYPT_50046]과 함께 스레드 안전성(thread-safe) 및 예외 안전성(exception safe)을 보장합니다. 해석: 롤백 시맨틱으로 인해 중단 후 객체는 다시 준비된 초기 상태로 돌아갈 것으로 보입니다. 질문 Q-b6deb8db5367acc5 (열림)
이 기능적 패턴은 AUTOSAR Adaptive의 모든 암호화 스트리밍 컨텍스트에 걸쳐 일관되게 정의되어 있습니다. 동일한 시그니처와 오류 시맨틱이 컨텍스트 클래스 VerifierPublicCtx([SWS_CRYPT_50023]), MessageAuthnCodeCtx([SWS_CRYPT_50027]), SignerPrivateCtx([SWS_CRYPT_50041]), HashFunctionCtx([SWS_CRYPT_50058]), DecryptorPrivateCtx([SWS_CRYPT_50069]), AuthCipherCtx([SWS_CRYPT_50077]) 및 EncryptorPublicCtx([SWS_CRYPT_50089])에 적용됩니다.
이 텍스트는 AI에 의해 큐레이션되었으며 AUTOSAR Adaptive R25-11 명세를 기반으로 합니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/crypto/cryp/symmetric_cipher_ctx.h" |
|---|---|
| Scope | class ara::crypto::cryp::SymmetricCipherCtx |
| 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_50046- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50046@rel:R25-11#b1e64545- Content hash
b1e64545- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50046
Status: valid/unmigrated
Version: rel:R25-11#f0ef0c54
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_50046@rel:R25-11#f0ef0c54
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 · 독일어 원문