função 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.
O método virtual puro ToString da interface ara::crypto::x509::X509DN exporta o Distinguished Name (DN) completo como uma única cadeia de caracteres formatada em conformidade com a RFC 4514 [SWS_CRYPT_40411]. Se o DN incluir atributos não padronizados, o Object Identifier (OID) desses atributos será usado na cadeia de caracteres em vez de um nome [SWS_CRYPT_40411]. Para a utilização, o cabeçalho ara/crypto/x509/x509_dn.h deve ser incluído [SWS_CRYPT_40411].
A chamada é executada sincronicamente e sem parâmetros em uma instância constante. Como tipo de retorno serve ara::core::Result<ara::core::String>, que, em caso de sucesso, fornece a representação completa em cadeia de caracteres do Distinguished Name [SWS_CRYPT_40411]. Códigos de erro específicos ou padronizados não estão definidos para esta função na especificação [SWS_CRYPT_40411].
Para o uso em operação concorrente, ToString é classificado como seguro para threads (thread-safe) [SWS_CRYPT_40411]. Além disso, aplica-se a segurança contra exceções (exception safe), suportada pela especificação noexcept da assinatura da função, o que exclui a ocorrência de exceções C++ [SWS_CRYPT_40411].
Esta nota de utilização foi criada de forma automatizada com base na especificação 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#29483c50- Content hash
29483c50- 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 em alemão