함수 Convert [SWS_CRYPT_50198] Upstream: RS_CRYPTO_02112
virtual ara::core::Result< void > Convert (ReadOnlyMemRegion input, ReadWriteMemRegion out) const noexcept=0;
Converts the data according to the previous configuration of the Formatter.
인터페이스 ara::crypto::Formatter의 순수 가상 멤버 함수 Convert은(는) 포매터 객체의 사전 정의된 구성에 따라 데이터의 동기 변환을 실행합니다 [SWS_CRYPT_50198]. 선언은 헤더 #include "ara/crypto/common/formatter.h"을(를) 통해 제공됩니다 [SWS_CRYPT_50198]. 호출을 위해 호출자는 원래 형식의 입력 데이터를 ReadOnlyMemRegion 유형의 버퍼 input을(를) 통해 전달하고, 변환된 데이터가 대상 형식으로 기록될 ReadWriteMemRegion 유형의 쓰기 가능한 버퍼 out을(를) 전달합니다 [SWS_CRYPT_50198].
반환값은 ara::core::Result<void>(으)로 정의되어 성공 또는 발생한 오류를 알립니다 [SWS_CRYPT_50198]. 변환 중에 문제가 발생하면 다음과 같은 특정 오류 코드와 함께 롤백 시맨틱이 적용됩니다 [SWS_CRYPT_50198]:
ara::crypto::CryptoErrc::kInvalidArgument: 직렬화된 입력 데이터가 지정된 형식과 일치하지 않는 경우 반환됩니다 [SWS_CRYPT_50198].ara::crypto::CryptoErrc::kInsufficientCapacity: 전달된 출력 버퍼out의 용량이 결과 데이터를 수용하기에 너무 작을 때 발생합니다 [SWS_CRYPT_50198].
동시성 및 결함 허용성과 관련하여 이 메서드는 스레드 안전(thread-safe) 및 예외 안전(exception safe)으로 명시되어 있습니다 [SWS_CRYPT_50198]. 시그니처에 지정자 const 및 noexcept이(가) 지정되어 있으므로, 이 연산은 C++ 예외를 발생시키지 않으며 포매터 인스턴스의 상태를 변경하지 않습니다 [SWS_CRYPT_50198].
이 사용 지침은 사양을 기반으로 AI에 의해 자동 생성되었습니다.
| Header-Datei | #include "ara/crypto/common/formatter.h" |
|---|---|
| Scope | class ara::crypto::Formatter |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| input | an input buffer containing the data in the input format |
Parameter (out)
| Parameter | Beschreibung |
|---|---|
| out | an output buffer that the data will be written to in the output format |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result< void > | An empty result or an error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| ara::crypto::CryptoErrc::kInvalidArgument | rollback_semantics if serialized does not conform to the specified format |
| ara::crypto::CryptoErrc::kInsufficientCapacity | rollback_semantics if the output buffer is too small |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_50198- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_50198@rel:R25-11#80c66d99- Content hash
80c66d99- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_50198
Status: valid/unmigrated
Version: rel:R25-11#19644f36
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_50198@rel:R25-11#19644f36
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 · 독일어 원문