función 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.
El método virtual puro ToString de la interfaz ara::crypto::x509::X509DN exporta el Distinguished Name (DN) completo como una sola cadena formateada conforme a RFC 4514 [SWS_CRYPT_40411]. Si el DN incluyera atributos no estandarizados, en la cadena de caracteres se utiliza su Object Identifier (OID) para dichos atributos en lugar de un nombre [SWS_CRYPT_40411]. Para su uso, debe incluirse la cabecera ara/crypto/x509/x509_dn.h [SWS_CRYPT_40411].
La llamada se ejecuta de forma síncrona y sin parámetros sobre una instancia constante. Como tipo de retorno se utiliza ara::core::Result<ara::core::String>, que en caso de éxito proporciona la representación completa en cadena de caracteres del Distinguished Name [SWS_CRYPT_40411]. En la especificación no se definen códigos de error específicos o estandarizados para esta función [SWS_CRYPT_40411].
Para su uso en funcionamiento concurrente, ToString está clasificado como seguro para subprocesos (thread-safe) [SWS_CRYPT_40411]. Además, rige la seguridad frente a excepciones (exception safe), respaldada por la especificación noexcept de la firma de la función, que excluye la aparición de excepciones de C++ [SWS_CRYPT_40411].
Esta nota de uso se ha elaborado de manera automatizada a partir de la especificación de 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#55b73f31- Content hash
55b73f31- 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 en alemán