functie ToString [SWS_CRYPT_40411] Upstream: RS_CRYPTO_02306
virtual ara::core::Result< ara::core::String > ToString () const noexcept=0;
Get the whole Distinguished Name (DN) as a single string according to RFC 4514. If the DN contains unstandardized attributes, the attribute’s OID is used.
De pure virtual-methode ToString van de interface ara::crypto::x509::X509DN exporteert de volledige Distinguished Name (DN) als een enkele geformatteerde tekenreeks conform RFC 4514 [SWS_CRYPT_40411]. Mocht de DN niet-gestandaardiseerde attributen omvatten, dan wordt voor deze attributen in plaats van een naam hun Object Identifier (OID) in de tekenreeks gebruikt [SWS_CRYPT_40411]. Voor het gebruik moet de header ara/crypto/x509/x509_dn.h worden geïncludeerd [SWS_CRYPT_40411].
De aanroep wordt synchroon en parameterloos uitgevoerd op een constante instantie. Als retourtype dient ara::core::Result<ara::core::String>, die bij succes de volledige tekenreeksrepresentatie van de Distinguished Name bereitstelt [SWS_CRYPT_40411]. Specifieke of gestandaardiseerde foutcodes zijn voor deze functie niet vastgelegd in de specificatie [SWS_CRYPT_40411].
Voor de inzet bij concurrente werking is ToString geclassificeerd als thread-veilig (thread-safe) [SWS_CRYPT_40411]. Bovendien geldt exception-veiligheid (exception safe), ondersteund door de noexcept-specificatie van de functiesignatuur, die het optreden van C++-excepties uitsluit [SWS_CRYPT_40411].
Deze gebruiksinstructie is automatisch opgesteld aan de hand van de AUTOSAR-specificatie.
| Header-Datei | #include "ara/crypto/x509/x509_dn.h" |
|---|---|
| Scope | class ara::crypto::x509::X509DN |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result<ara::core::String > | String of the whole DN string |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| This function does not specify any standardized errors. | |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_CRYPT_40411- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_CRYPT_40411@rel:R25-11#bd72f478- Content hash
bd72f478- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Cryptography.pdf#nameddest=SWS_CRYPT_40411
Status: valid/unmigrated
Version: rel:R25-11#027bb18b
Versionshistorie & Revisions (1 transition, 8 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_40411@rel:R25-11#027bb18b
Recorded Revisions (8):
- R25-11
rel:R25-11#0a4f449c2026-09-30 - R19-11
rel:R19-11#aa7783f22026-10-14 - R20-11
rel:R20-11#107617f62026-10-14 - R21-11
rel:R21-11#ffe162c32026-10-14 - R22-11
rel:R22-11#c6c8fcc72026-10-14 - R23-11
rel:R23-11#8b07ee3d2026-10-14 - R24-11
rel:R24-11#d26b8a3b2026-10-14 - R25-11
rel:R25-11#027bb18b2026-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 · Duits origineel