फ़ंक्शन 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.
इंटरफ़ेस ara::crypto::x509::X509DN की शुद्ध-वर्चुअल विधि ToString RFC 4514 [SWS_CRYPT_40411] के अनुसार पूर्ण Distinguished Name (DN) को एकल स्वरूपित स्ट्रिंग के रूप में निर्यात करती है। यदि DN में गैर-मानकीकृत विशेषताएँ शामिल हैं, तो स्ट्रिंग में नाम के स्थान पर इन विशेषताओं के लिए उनके Object Identifier (OID) का उपयोग किया जाता है [SWS_CRYPT_40411]। उपयोग करने के लिए, हेडर ara/crypto/x509/x509_dn.h शामिल किया जाना चाहिए [SWS_CRYPT_40411]।
कॉल को एक निरंतर (constant) इंस्टेंस पर समकालिक और पैरामीटर-रहित रूप से निष्पादित किया जाता है। रिटर्न प्रकार ara::core::Result<ara::core::String> के रूप में कार्य करता है, जो सफल होने पर Distinguished Name का पूर्ण स्ट्रिंग प्रतिनिधित्व प्रदान करता है [SWS_CRYPT_40411]। इस फ़ंक्शन के लिए विनिर्देश में विशिष्ट या मानकीकृत त्रुटि कोड परिभाषित नहीं हैं [SWS_CRYPT_40411]।
समवर्ती संचालन में उपयोग के लिए, ToString को थ्रेड-सेफ़ (thread-safe) के रूप में वर्गीकृत किया गया है [SWS_CRYPT_40411]। इसके अलावा, अपवाद-सुरक्षा (exception safe) लागू होती है, जो फ़ंक्शन हस्ताक्षर के noexcept विनिर्देश द्वारा समर्थित है, जो C++ अपवादों की घटना को रोकता है [SWS_CRYPT_40411]।
यह उपयोग संबंधी नोट 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#8bff5520- Content hash
8bff5520- 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 · जर्मन मूल