function CryptoErrorDomain [SWS_CRYPT_19902] Upstream: RS_CRYPTO_02310
constexpr CryptoErrorDomain () noexcept;
Ctor of the CryptoErrorDomain .
Usage and Call Context
The default constructor CryptoErrorDomain() initializes an instance of the error domain for cryptographic operations [SWS_CRYPT_19902]. It is specified as constexpr and noexcept, takes no arguments, and has no return value. Execution is synchronous and can take place at compile time. In application programs, manual instantiation is unlikely to be required, as the domain is regularly accessed via the global function GetCryptoErrorDomain() [SWS_CRYPT_19952]. Question Q-1e029d80fb7bf7d1 (open)
Error Handling and Concurrency
The creation of the object is defined as exception safe as well as thread-safe [SWS_CRYPT_19902]. Since the constructor is declared with noexcept, no errors or exceptions occur during invocation; error messages to DET or DEM do not exist for this constructor.
Interplay in the module
The created domain forms the context for cryptographic error descriptions:
- It encapsulates the error codes of the enumeration
CryptoErrc[SWS_CRYPT_10099] via the type aliasErrc[SWS_CRYPT_19903]. - Via the free function
MakeErrorCode(), instances ofara::core::ErrorCodeare created that firmly reference this domain [SWS_CRYPT_19951]. - The member functions of the domain allow querying the identifier via
Name()[SWS_CRYPT_19950], text resolution viaMessage()[SWS_CRYPT_19953], and throwing system-specific errors viaThrowAsException()[SWS_CRYPT_19954] with the base typeException[SWS_CRYPT_19904].
This usage note was generated automatically based on the AUTOSAR Adaptive R25-11 specification.
Implementer's Guide to follow (complexity I1)
| Header-Datei | #include "ara/crypto/common/crypto_error_domain.h" |
|---|---|
| Scope | class ara::crypto::CryptoErrorDomain |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_19902- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_19902@rel:R25-11#5c19d14b- Content hash
5c19d14b- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_19902
Status: valid/unmigrated
Version: rel:R25-11#21007e48
Versionshistorie & Revisions (1 transition, 7 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_19902@rel:R25-11#21007e48
Recorded Revisions (7):
- R25-11
rel:R25-11#5c19d14b2026-09-30 - R20-11
rel:R20-11#c58b453f2026-10-14 - R21-11
rel:R21-11#88535fe42026-10-14 - R22-11
rel:R22-11#943a31022026-10-14 - R23-11
rel:R23-11#565923b82026-10-14 - R24-11
rel:R24-11#6e99dbca2026-10-14 - R25-11
rel:R25-11#21007e482026-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 · German original