fonction 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.
La méthode virtuelle pure ToString de l'interface ara::crypto::x509::X509DN exporte le Distinguished Name (DN) complet sous la forme d'une chaîne de caractères formatée unique conformément à la RFC 4514 [SWS_CRYPT_40411]. Si le DN comprend des attributs non standardisés, leur identifiant d'objet (OID) est utilisé dans la chaîne de caractères à la place d'un nom pour ces attributs [SWS_CRYPT_40411]. Pour son utilisation, l'en-tête ara/crypto/x509/x509_dn.h doit être inclus [SWS_CRYPT_40411].
L'appel est exécuté de manière synchrone et sans paramètre sur une instance constante. Le type de retour utilisé est ara::core::Result<ara::core::String>, qui fournit en cas de succès la représentation complète sous forme de chaîne de caractères du Distinguished Name [SWS_CRYPT_40411]. Aucun code d'erreur spécifique ou standardisé n'est défini dans la spécification pour cette fonction [SWS_CRYPT_40411].
Pour une utilisation en fonctionnement concurrent, ToString est classé comme sûr vis-à-vis des threads (thread-safe) [SWS_CRYPT_40411]. De plus, la sécurité vis-à-vis des exceptions (exception safe) s'applique, étayée par la spécification noexcept de la signature de la fonction, qui exclut la survenue d'exceptions C++ [SWS_CRYPT_40411].
Cette note d'utilisation a été créée de manière automatisée à partir de la spécification AUTOSAR.
| 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#692345a5- Content hash
692345a5- 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 · Original allemand