方法文档
virtual ara::core::Result < bool > ClearCertificateSlot (const ara::core::InstanceSpecifier &instanceSpecifier) noexcept=0;
Clear the certificate slot identified by the passed instance specifier.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 99a52bea08ed
来源
使用
类 ara::crypto::x509::X509Provider 的同步方法 ClearCertificateSlot 清空通过参数 instanceSpecifier 指定的证书存储位置 [SWS_CRYPT_40622] 。它返回一个 ara::core::Result<bool>:如果成功删除了现有证书,则返回值是 true;如果该插槽原本就未被占用,则返回值为 false [SWS_CRYPT_40622] 。
错误处理与限制
如果该操作暂时无法执行,该函数将提供具有回滚语义的错误代码 ara::crypto::CryptoErrc::kBusyResource [SWS_CRYPT_40622] 。此外,还定义了特定的建模和访问前提条件:
ProcessMappingViolation:当 InstanceSpecifier 未指向针对当前进程建模且具有接口 CryptoCertificateInterface 的 PortPrototype 时出现 [SWS_CRYPT_40622] 。
InsufficientPermissionsViolation:当当前进程缺少写权限时发生,即设置了 CryptoCertificateToPortPrototypeMapping.writeAccess != True [SWS_CRYPT_40622] 。
并发性
该接口标明为 noexcept,被指定为异常安全(exception safe ),并针对并发调用被指定为线程安全(thread-safe )[SWS_CRYPT_40622] 。
本使用说明基于规范数据自动生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung instanceSpecifier An instance specifier identifying a storage location of a certificate.
Rückgabewert
Typ Beschreibung ara::core::Result < bool >true if the slot contained a certificate which has been successfully removed false if the slot contained no certificate.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#c87d5644
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_40622@rel:R25-11#c87d5644
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#4acf5aaa2026-09-30 Inspect R19-11 rel:R19-11#9a648bef2026-10-14 Inspect R20-11 rel:R20-11#9816a1ad2026-10-14 Inspect R21-11 rel:R21-11#be9e5a522026-10-14 Inspect R22-11 rel:R22-11#a6750b412026-10-14 Inspect R23-11 rel:R23-11#c52c6c322026-10-14 Inspect R24-11 rel:R24-11#a2473ff72026-10-14 Inspect R25-11 rel:R25-11#c87d56442026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < CertSignRequest::Sptrc > CreateCertSign Request (cryp::SignerPrivateCtx::Sptr signerCtx, X509DN::Sptrc subject Dn, cryp::PublicKey::Sptr publicKey, ara::core::Optional < ReadOnlyMem Region > attributes) const noexcept=0;
Create certificate signing request according to RFC 2986.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: dc6f7ceeea9e
来源
未决问题(1)
使用
来自头文件 ara/crypto/x509/x509_provider.h 的接口 ara::crypto::x509::X509Provider 的同步方法 CreateCertSignRequest 根据 RFC 2986 标准创建证书签名请求(Certificate Signing Request,CSR)[SWS_CRYPT_40640] 。作为参数,该函数需要一个完整配置的签名上下文 signerCtx、主题的可分辨名称 subjectDn、关联的公钥 publicKey 以及可选的 DER 编码属性 attributes [SWS_CRYPT_40640] 。传入的公钥必须与签名上下文中配置的私钥严格对应。成功时,将返回打包在 ara::core::Result 中的指向已创建 CSR(CertSignRequest::Sptrc)的智能指针 [SWS_CRYPT_40640] 。
错误处理
出错时,该方法将根据回滚语义返回带有相应错误代码的 ara::core::Result [SWS_CRYPT_40640] :
ara::crypto::CryptoErrc::kInvalidArgument:如果传入的属性数据无效,或者公钥与签名上下文的私钥不匹配。
ara::crypto::CryptoErrc::kUninitializedContext:如果签名上下文未用密钥值进行初始化。
ara::crypto::CryptoErrc::kEmptyKeySlot:如果配置的 KeySlot 当前为空。
ara::crypto::CryptoErrc::kUsageViolation:如果允许的密钥用法不包含签名生成(kAllowSigGeneration)。
ara::crypto::CryptoErrc::kBusyResource:如果操作所需的资源被占用。
并发性与限制
该方法被指定为 const、noexcept、异常安全(exception safe)以及线程安全(thread-safe)[SWS_CRYPT_40640] 。只要传入的上下文和密钥对象不同时被其他线程修改,通过同一提供程序实例进行的并行调用很可能是允许的。 问题 Q-aef8777dce55a033 (未决)
本使用说明基于 AUTOSAR Adaptive Release R25-11 规范自动生成。
Parameter (in)
Parameter Beschreibung signerCtx the fully configured SignerPrivateCtx to be used for signing this certificate request subjectDn the DN to be used in the CSR publicKey the public key to be used in the CSR. Must correspond to the private key configured in the signerCtx. attributes the DER-encoded attributes that should be included to the certificate signing request
Rückgabewert
Typ Beschreibung ara::core::Result < CertSignRequest::Sptrc >Smart pointer to created certificate signing request
Fehler
Status: valid/unmigrated
Version: rel:R25-11#ac494cfd
Versionshistorie & Revisions (1 transition, 7 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_40640@rel:R25-11#ac494cfd
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#6c6194a72026-09-30 Inspect R20-11 rel:R20-11#e83871e52026-10-14 Inspect R21-11 rel:R21-11#6eff8cfd2026-10-14 Inspect R22-11 rel:R22-11#87637b592026-10-14 Inspect R23-11 rel:R23-11#39e766542026-10-14 Inspect R24-11 rel:R24-11#978b01462026-10-14 Inspect R25-11 rel:R25-11#ac494cfd2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < CertificateValidationCtx ::Sptr > Create CertificateValidationCtx () noexcept=0;
Create a certificate validation context.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 29344148ca27
来源
未决问题(1)
本使用说明基于 AUTOSAR Adaptive R25-11 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Rückgabewert
Typ Beschreibung ara::core::Result <CertificateValidationCtx::Sptr >Smart pointer to the created context
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#7943aae2
Versionshistorie & Revisions (1 transition)
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_50125@rel:R25-11#7943aae2
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < X509DN::Sptrc > CreateDn (ara::core::String View dnString) const noexcept=0;
Create DN from string representation.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 085f2fe97f25
来源
未决问题(2)
本使用说明由 AI 基于规范生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung dnString string representing a DN according to RFC 4514
Rückgabewert
Typ Beschreibung ara::core::Result < X509DN::Sptrc >a result containing a X509DN or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#1156623b
Versionshistorie & Revisions (1 transition)
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_50186@rel:R25-11#1156623b
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < X509DN ::Sptrc > CreateDn (ReadOnlyMemRegion dn, FormatId formatId) const noexcept=0;
Create DN from a serialized buffer.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 9e16d7d285e3
来源
未决问题(1)
使用
符合 [SWS_CRYPT_50187] 的方法 CreateDn 用于从序列化缓冲区创建专有名称(DN)。它在 ara::crypto::x509::X509Provider 的实例上同步调用。作为输入,该函数需要包含序列化数据的类型为 ReadOnlyMemRegion 的内存区域 dn,以及类型为 FormatId 的格式标识符 formatId。在成功执行时,该方法返回一个 ara::core::Result<X509DN::Sptrc>,其提供指向所创建 X509DN 对象的共享指针(Shared Pointer)。
错误处理
若创建失败,该方法在 ara::core::Result 内返回相应的错误代码([SWS_CRYPT_50187] ):
ara::crypto::CryptoErrc::kInvalidArgument:在传入的缓冲区 dn 无效时发生,具有回滚语义。
ara::crypto::CryptoErrc::kUnsupportedFormat:在指定的 formatId 未知或不受支持时报告,具有回滚语义。
并发性与交互
该接口被指定为 thread-safe 以及 exception safe,并声明为 noexcept([SWS_CRYPT_50187] )。因此,它可以安全地从多个执行上下文中并行调用。
与依据 RFC 4514 从字符串(ara::core::StringView)创建 DN 的备选重载 [SWS_CRYPT_50186] 不同,此函数处理序列化的二进制数据。FormatId 的具体表现形式推测在模块范围的其他位置定义。 问题 Q-dd7cbf35ba6fa7d1 (未决)
本文由 AI 基于 AUTOSAR 规范 R25-11 生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung dn a DN serialized according to the provided format formatId input format identifier
Rückgabewert
Typ Beschreibung ara::core::Result < X509DN::Sptrc >a result containing a X509DN or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#0812b274
Versionshistorie & Revisions (1 transition)
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_50187@rel:R25-11#0812b274
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < ara::core::Vector < std::uint8_t > > Create OcspRequest (Certificate::Sptrc cert, Certificate::Sptrc issuerCert, ara::core::Optional < cryp::SignerPrivateCtx::Sptr > signerCtx) noexcept=0;
Create OCSP request for specified certificate according to RFC 6960.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0ede64b86ad6
来源
未决问题(1)
此文本由 AI 生成,仅供参考。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung cert a certificate that should be verified issuerCert the issuer certificate of the certificate that should be verified signerCtx an optional pointer to initialized signer context (if the request should be signed)
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#afe90920
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_40626@rel:R25-11#afe90920
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#2ba524d72026-09-30 Inspect R19-11 rel:R19-11#8197a6182026-10-14 Inspect R20-11 rel:R20-11#438e8ee12026-10-14 Inspect R21-11 rel:R21-11#6413c43a2026-10-14 Inspect R22-11 rel:R22-11#7df0940a2026-10-14 Inspect R23-11 rel:R23-11#a8b4a3b12026-10-14 Inspect R24-11 rel:R24-11#d6335c382026-10-14 Inspect R25-11 rel:R25-11#afe909202026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < ara::core::Vector < std::uint8_t > > Create OcspRequest (const ara::core::Span < Certificate::Sptrc > certList, const ara::core::Span < Certificate::Sptrc > issuerCertList, ara::core::Optional < cryp::SignerPrivateCtx::Sptr > signerCtx) noexcept=0;
Create OCSP request for specified list of certificates according to RFC 6960.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 045b7f496270
来源
未决问题(1)
使用
接口 ara::crypto::x509::X509Provider([SWS_CRYPT_40627] )的方法 CreateOcspRequest 用于根据 RFC 6960 为多个证书同步创建 OCSP 检查请求(联机证书状态协议)。该调用通过头文件 #include "ara/crypto/x509/x509_provider.h" 提供。
该函数需要的输入参数如下:
certList:要验证的证书列表,作为 ara::core::Span<Certificate::Sptrc>。
issuerCertList:关联的颁发者证书列表,作为 ara::core::Span<Certificate::Sptrc>。解释:两个列表的条目之间很可能预设了按索引成对对应。 问题 Q-9132b017c2c4be75 (未决)
signerCtx:指向已初始化签名上下文(ara::core::Optional<cryp::SignerPrivateCtx::Sptr>)的可选指针,用于需要对请求进行加密签名的情况。
作为返回值,该函数提供一个 ara::core::Result,成功生成时,它会在 ara::core::Vector<std::uint8_t> 中提供 OCSP 请求的二进制数据([SWS_CRYPT_40627] )。
错误处理
出错时,ara::core::Result 会提供具有回滚语义的错误代码([SWS_CRYPT_40627] ):
ara::crypto::CryptoErrc::kUninitializedContext:当传入的签名上下文未通过密钥初始化时发生。
ara::crypto::CryptoErrc::kBusyResource:由于资源暂时被占用导致操作暂时无法执行时发生。
并发性与交互
该方法被指定为 thread-safe 以及 exception safe,并声明为 noexcept([SWS_CRYPT_40627] )。与为单个证书生成 OCSP 请求的 [SWS_CRYPT_40626] 相比,该接口允许将多个证书捆绑在单个请求中。
本使用说明自动生成,并基于 AUTOSAR 规范 R25-11。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung certList a list of certificates that should be verified issuerCertList a list of issuer certificates of the certificates that should be verified signerCtx an optional pointer to initialized signer context (if the request should be signed)
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#28f7db2c
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_40627@rel:R25-11#28f7db2c
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#35c80f532026-09-30 Inspect R19-11 rel:R19-11#ddd2c1962026-10-14 Inspect R20-11 rel:R20-11#745575b22026-10-14 Inspect R21-11 rel:R21-11#e962488d2026-10-14 Inspect R22-11 rel:R22-11#255821312026-10-14 Inspect R23-11 rel:R23-11#e4d2938a2026-10-14 Inspect R24-11 rel:R24-11#293b816f2026-10-14 Inspect R25-11 rel:R25-11#28f7db2c2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > DeleteCrl (ara::core::Instance Specifier crlInstanceSpecifier) noexcept=0;
Delete a stored CRL identified by the passed instance specifier.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 0e40ef1af7c7
来源
使用
接口ara::crypto::x509::X509Provider的方法DeleteCrl用于删除持久化保存的证书吊销列表(Certificate Revocation List,CRL)[SWS_CRYPT_50184] 。作为参数传入crlInstanceSpecifier,该参数指向标识相应证书的CryptoCertificateInterface的RPortPrototype[SWS_CRYPT_50184] 。该函数同步工作并返回一个ara::core::Result<void>;若 CRL 已成功删除或先前根本未保存 CRL,则该结果为空[SWS_CRYPT_50184] 。
错误处理与并发
若执行期间发生临时资源冲突,该函数将以回滚语义报告错误ara::crypto::CryptoErrc::kBusyResource[SWS_CRYPT_50184] 。该方法声明为noexcept,并指定为异常安全(exception safe)和线程安全(thread-safe)[SWS_CRYPT_50184] 。
限制和配置条件
调用适用以下配置与权限前提条件[SWS_CRYPT_50184] :
ProcessMappingViolation: 当InstanceSpecifier未指向针对当前进程建模且由CryptoCertificateInterface类型化的PortPrototype时发生[SWS_CRYPT_50184] 。
InsufficientPermissionsViolation: 当当前进程没有写权限时发生,即CryptoCertificateToPortPrototypeMapping.writeAccess != True[SWS_CRYPT_50184] 。
本使用说明基于 AUTOSAR 规范由 AI 自动生成。
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung crlInstanceSpecifier instance specifier to the RPortPrototype of a CryptoCertificate Interface that identifies the certificate for which the CRL shall be deleted
Rückgabewert
Typ Beschreibung ara::core::Result < void >an empty result if no CRL was stored or if the CRL was successfully deleted, or a result containing an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#925229b1
Versionshistorie & Revisions (1 transition)
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_50184@rel:R25-11#925229b1
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > ImportCertificate (const ara::core::InstanceSpecifier &instanceSpecifier, Certificate ::Sptrc certificate) noexcept=0;
Persistently store a certificate in a certificate slot.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f23066eba231
来源
未决问题(1)
使用
接口 ara::crypto::x509::X509Provider 的方法 ImportCertificate(声明于 ara/crypto/x509/x509_provider.h)用于将 X.509 证书持久存储在定义的证书槽位中 [SWS_CRYPT_40621] 。目标槽位通过 instanceSpecifier(类型 ara::core::InstanceSpecifier)寻址,而要导入的证书则通过参数 certificate(类型 Certificate::Sptrc)传递 [SWS_CRYPT_40621] 。解释:执行大概是同步进行的,因为接口直接返回 ara::core::Result<void> [SWS_CRYPT_40621] 。 问题 Q-514863e9a90f1c72 (未决)
错误处理和建模规则
发生错误时,将返回错误的 ara::core::Result。如果操作暂时无法执行,该方法将返回具有回滚语义的 ara::crypto::CryptoErrc::kBusyResource [SWS_CRYPT_40621] 。此外,还必须满足配置和建模规范,否则将报告运行时违规 [SWS_CRYPT_40621] :
ProcessMappingViolation:如果 instanceSpecifier 未指向为当前进程建模的、由 CryptoCertificateInterface 类型化的 PortPrototype,则触发 [SWS_CRYPT_40621] 。
InsufficientPermissionsViolation:在当前进程没有写权限(CryptoCertificateToPortPrototypeMapping.writeAccess != True)时发生 [SWS_CRYPT_40621] 。
并发性与执行上下文
该操作被指定为 thread-safe 和 exception safe(noexcept=0),从而确保了无外部锁并发调用的安全性 [SWS_CRYPT_40621] 。
此文本由 AI 生成,用作 AUTOSAR 规范的参考指南。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung instanceSpecifier an InstanceSpecifier identifying a certificate slot certificate a certificate that should be imported
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#512b6299
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_40621@rel:R25-11#512b6299
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#c60e824f2026-09-30 Inspect R19-11 rel:R19-11#66df9bb02026-10-14 Inspect R20-11 rel:R20-11#e902d4782026-10-14 Inspect R21-11 rel:R21-11#ed0fa6be2026-10-14 Inspect R22-11 rel:R22-11#f860cec72026-10-14 Inspect R23-11 rel:R23-11#55f297932026-10-14 Inspect R24-11 rel:R24-11#f3490f622026-10-14 Inspect R25-11 rel:R25-11#512b62992026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > ImportCertificateInGroup (const ara::core::InstanceSpecifier &instanceSpecifier, Certificate ::Sptrc certificate) noexcept=0;
Persistently store a certificate in a certificate group.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2cbd935cbbae
来源
使用
类 ara::crypto::x509::X509Provider 的方法 ImportCertificateInGroup 将提供的证书持久存储在通过 instanceSpecifier 标识的证书组中 [SWS_CRYPT_50127] 。作为参数,传递对目标组 ara::core::InstanceSpecifier 的引用以及指向该证书的智能指针(Certificate::Sptrc certificate)[SWS_CRYPT_50127] 。该调用通过头文件 ara/crypto/x509/x509_provider.h 声明,并同步返回一个 ara::core::Result<void>,其指示成功导入或封装错误状态 [SWS_CRYPT_50127] 。
错误处理与违规
在常规错误情况下,该操作提供回滚语义,并在 Result 对象中返回特定错误代码 [SWS_CRYPT_50127] :
此外,还定义了约束性的建模与权限要求,不遵守这些要求将被归类为违规(Violations)[SWS_CRYPT_50127] :
ProcessMappingViolation:当 InstanceSpecifier 未指向为当前进程建模且由 CryptoCertificateGroupInterface 进行类型化的 PortPrototype 时发生 [SWS_CRYPT_50127] 。
InsufficientPermissionsViolation:当调用进程不具备写权限(以 CryptoCertificateGroupToPortPrototypeMapping.writeAccess != True 为特征)时发生 [SWS_CRYPT_50127] 。
并发性与执行上下文
该接口被指定为线程安全(thread-safe)以及异常安全(exception safe),并声明为 noexcept [SWS_CRYPT_50127] 。
本使用说明由 AI 基于 AUTOSAR R25-11 规范生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateGroupInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateGroupToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung instanceSpecifier an InstanceSpecifier identifying a certificate group certificate a certificate that should be imported
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#b5718b48
Versionshistorie & Revisions (1 transition)
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_50127@rel:R25-11#b5718b48
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < CertificateValidationStatus > ImportCrl (ara::core::InstanceSpecifier crlInstanceSpecifier, ReadOnlyMemRegion crl, FormatId formatId) noexcept=0;
Parse and persist a Certificate Revocation List (CRL) or Delta CRL which is issued by the CA certificate identified by the passed ara::core::InstanceSpecifier .
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b949726f73e5
来源
未决问题(1)
类 ara::crypto::x509::X509Provider 的方法 ImportCrl 解析并持久化由通过 crlInstanceSpecifier 识别的 CA 证书签发的证书吊销列表(CRL)或增量 CRL(Delta CRL)[SWS_CRYPT_50183] 。执行应当是同步进行的,因为会立即返回一个 ara::core::Result。 问题 Q-648a00ec967c7524 (未决)
调用时会传递以下参数[SWS_CRYPT_50183] :
crlInstanceSpecifier:指向用于标识证书的 CryptoCertificateInterface 的 RPortPrototype 的 ara::core::InstanceSpecifier。
crl:包含序列化 CRL 或增量 CRL 数据的 ReadOnlyMemRegion。
formatId:序列化 CRL 的格式。
该操作被指定为 thread-safe 以及 exception safe [SWS_CRYPT_50183] 。在成功情况下,它返回状态为 CertificateValidationStatus::kValid 的 ara::core::Result 或 CRL 的验证结果 [SWS_CRYPT_50183] 。
在错误情况下,返回值具有回滚语义 [SWS_CRYPT_50183] :
ara::crypto::CryptoErrc::kInvalidArgument:CRL 不符合指定的格式。
ara::crypto::CryptoErrc::kUnsupportedFormat:指定的 FormatId 未知或不受支持。
ara::crypto::CryptoErrc::kBusyResource:该操作暂时无法执行。
此外还必须遵守配置前提条件 [SWS_CRYPT_50183] :若实例标识符未指向为当前进程建模的端口,则发生 ProcessMappingViolation;若设置了 CryptoCertificateToPortPrototypeMapping.writeAccess != True,则发生 InsufficientPermissionsViolation。
本使用说明由自动化生成,基于 AUTOSAR Adaptive Platform 规范。
实现者指南即将推出(复杂度 I2)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung crlInstanceSpecifier ara::core::InstanceSpecifier to the RPortPrototype of a CryptoCertificateInterface that identifies the certificate for which the CRL shall be importedcrl serialized CRL or Delta CRL formatId the format of the serialized CRL
Rückgabewert
Typ Beschreibung ara::core::Result <CertificateValidationStatus >a result containing kValid if the CRL was added, or the result of the CRL validation, or an error otherwise.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#8304d910
Versionshistorie & Revisions (1 transition)
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_50183@rel:R25-11#8304d910
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < Certificate::Sptrc > LoadCertificate (const ara::core::InstanceSpecifier &instanceSpecifier) noexcept=0;
Load a certificate from the persistent certificate storage.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 84a69aeba7b5
来源
未决问题(1)
接口 ara::crypto::x509::X509Provider 的方法 LoadCertificate 用于从持久性证书存储中加载证书 [SWS_CRYPT_40641] 。该调用同步执行(解释:直接返回 ara::core::Result,而无需像 ara::core::Future 这样的异步 Future 对象)。 问题 Q-a2e3c23a02b4f8a1 (未决) 作为输入参数,该函数期望一个 ara::core::InstanceSpecifier,用于标识证书的具体存储位置 [SWS_CRYPT_40641] 。
成功执行时,返回值在一个 ara::core::Result 中封装了指向已实例化证书(Certificate::Sptrc)的智能指针 [SWS_CRYPT_40641] 。如果加载失败,结果将包含一个错误码:
ara::crypto::CryptoErrc::kEmptyCertificateSlot:如果由指定的 instanceSpecifier 标识的 CryptoCertificate 不包含持久化证书,则发生并具有回滚语义 [SWS_CRYPT_40641] 。
在并发性和异常安全性方面,LoadCertificate 被指定为 thread-safe 以及 exception-safe,并声明为 noexcept [SWS_CRYPT_40641] 。在配置和进程分配时必须注意一项建模约束:如果传入的 instanceSpecifier 未指向为当前进程建模的、由 CryptoCertificateInterface 类型化的 PortPrototype,则构成 ProcessMappingViolation [SWS_CRYPT_40641] 。
本文本由 AI 生成;不能替代对官方 AUTOSAR 规范的研读。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 8160a06ef69f
来源
未决问题(1)
使用说明
纯虚函数 LoadCertificate 属于 ara::crypto::x509::X509Provider 接口(定义于头文件 ara/crypto/x509/x509_provider.h),用于从持久化证书存储中加载指定证书 [SWS_CRYPT_40641] 。调用方需通过参数 instanceSpecifier(类型为 ara::core::InstanceSpecifier)指定目标证书的存储位置。调用成功后,该方法以 ara::core::Result<Certificate::Sptrc> 形式返回指向已实例化证书对象的智能指针 [SWS_CRYPT_40641] 。
错误处理与违规条件
在执行过程中可能出现以下错误或配置违规:
错误码: 如果 instanceSpecifier 所标识的证书槽位未包含已持久化的证书,函数将返回错误 ara::crypto::CryptoErrc::kEmptyCertificateSlot(具备回滚语义 rollback_semantics)[SWS_CRYPT_40641] 。
进程映射违规(ProcessMappingViolation): 当传入的 instanceSpecifier 未指向为当前进程建模并由 CryptoCertificateInterface 定型的 PortPrototype 时,将触发此违规 [SWS_CRYPT_40641] 。
并发性与约束
该函数声明为 noexcept,具备异常安全保证(exception safe),且实现必须保证线程安全(thread-safe),允许在多线程并发环境中调用 [SWS_CRYPT_40641] 。
本内容由人工智能基于 AUTOSAR 规范要求自动生成,仅供参考。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateInterface modeled for the current process.
Parameter (in)
Rückgabewert
Typ Beschreibung ara::core::Result <Certificate::Sptrc >an Smart pointer to the instantiated certificate
Fehler
Status: valid/unmigrated
Version: rel:R25-11#3e5e929d
Versionshistorie & Revisions (1 transition, 7 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_40641@rel:R25-11#3e5e929d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#94627f002026-09-30 Inspect R20-11 rel:R20-11#f6a245932026-10-14 Inspect R21-11 rel:R21-11#08172d492026-10-14 Inspect R22-11 rel:R22-11#ac029e1a2026-10-14 Inspect R23-11 rel:R23-11#484d2a182026-10-14 Inspect R24-11 rel:R24-11#38d686ab2026-10-14 Inspect R25-11 rel:R25-11#3e5e929d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < ara::core::Vector < Certificate::Sptrc > > LoadCertificateGroup (const ara::core::InstanceSpecifier &instance Specifier) noexcept=0;
Load a group of certificates from the persistent certificate storage.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: b9c11fbc2aed
来源
未决问题(1)
方法 ara::crypto::x509::X509Provider::LoadCertificateGroup 用于根据 [SWS_CRYPT_50126] 从持久证书存储中加载一组证书。
用法与调用上下文
调用通过来自头文件 ara/crypto/x509/x509_provider.h 的 X509Provider 实例进行。作为输入参数,该函数需要类型为 const ara::core::InstanceSpecifier& 的 instanceSpecifier,其标识目标证书组的逻辑存储位置 [SWS_CRYPT_50126] 。作为结果,该接口返回一个 ara::core::Result<ara::core::Vector<Certificate::Sptrc>>,其在成功时提供一个包含指向已加载证书的智能指针的 vector [SWS_CRYPT_50126] 。由于缺少诸如 ara::core::Future 之类的异步返回类型,对持久存储的访问大概是以同步阻塞方式进行的。 问题 Q-b743367ccc9904ab (未决)
错误处理与建模限制
规范中未对返回值定义标准化的错误代码 [SWS_CRYPT_50126] 。然而,规定了运行时检查:如果传入的 instanceSpecifier 未指向针对当前进程建模且由 CryptoCertificateGroupInterface 确定类型的 PortPrototype,则存在 ProcessMappingViolation [SWS_CRYPT_50126] 。
并发与异常安全性
纯虚方法带有 noexcept 注解,并被规范定义为异常安全(exception safe )。此外,该调用被明确声明为线程安全(thread-safe ),因此来自多个线程的并行读取访问是安全的 [SWS_CRYPT_50126] 。
本文字由人工智能创建,基于 AUTOSAR R25-11。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateGroupInterface modeled for the current process.
Parameter (in)
Parameter Beschreibung instanceSpecifier An instance specifier identifying a storage location of a certificate group.
Rückgabewert
Fehler
Fehlercode Beschreibung This function does not specify any standardized errors.
Status: valid/unmigrated
Version: rel:R25-11#1708c4f4
Versionshistorie & Revisions (1 transition)
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_50126@rel:R25-11#1708c4f4
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < Certificate ::Sptrc > ParseCert (ReadOnlyMem Region cert, FormatId formatId) noexcept=0;
Parse a serialized representation of an X.509v3 certificate and create a certificate object.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6e6cff229e6f
来源
未决问题(1)
本使用说明由 AI 整理,并基于 AUTOSAR Adaptive R25-11 规范。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung cert certificate encoded in the given format formatId input format identifier
Rückgabewert
Typ Beschreibung ara::core::Result <Certificate::Sptrc >A result containing either the parsed certificate or an error.
Fehler
Status: valid/unmigrated
Version: rel:R25-11#a0375fd1
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_40614@rel:R25-11#a0375fd1
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#f8a4d6b92026-09-30 Inspect R19-11 rel:R19-11#9e0555992026-10-14 Inspect R20-11 rel:R20-11#6667ce072026-10-14 Inspect R21-11 rel:R21-11#dbc78a3c2026-10-14 Inspect R22-11 rel:R22-11#49d5e95f2026-10-14 Inspect R23-11 rel:R23-11#246cb3d52026-10-14 Inspect R24-11 rel:R24-11#1fdcfb692026-10-14 Inspect R25-11 rel:R25-11#a0375fd12026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < ara::core::Vector < Certificate ::Sptrc > > ParseCertChain (ReadOnlyMemRegion certChain, FormatId formatId) noexcept=0;
Parse a serialized representation of a certificate chain, creating a new Certificate instance for each parsed certificate. Certificates in the returned vector will be placed in the same order as provided in certChain.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f7a9ecb9b926
来源
使用
来自头文件 ara/crypto/x509/x509_provider.h 的接口 ara::crypto::x509::X509Provider 的方法 ParseCertChain 解析证书链的序列化表示 [SWS_CRYPT_40616] 。作为参数,它接收作为 ReadOnlyMemRegion 的已编码证书链内存区域 certChain,以及类型为 FormatId 的格式标识符 formatId [SWS_CRYPT_40616] 。对于每个成功解析的证书,都会创建一个新的 Certificate 实例。在成功情况下,该同步函数返回一个带有 ara::core::Vector<Certificate::Sptrc> 的 ara::core::Result,其中证书的排列顺序与传入链中的顺序相同 [SWS_CRYPT_40616] 。
错误处理
出错时,返回的 ara::core::Result 包含具有回滚语义的特定错误代码 [SWS_CRYPT_40616] :
并发性与边界条件
该方法声明为 noexcept,被指定为线程安全(thread-safe ),并保证异常安全(exception safe )[SWS_CRYPT_40616] 。
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动创建。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung certChain certificate chain encoded in the given format formatId input format identifier
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#a4d81c6b
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_40616@rel:R25-11#a4d81c6b
Point-in-Time History:
Release:
R25-11 (Current / Active) R19-11 R20-11 R21-11 R22-11 R23-11 R24-11
View Snapshot
Recorded Revisions (8):
R25-11 rel:R25-11#ec35b0c52026-09-30 Inspect R19-11 rel:R19-11#5bda10c72026-10-14 Inspect R20-11 rel:R20-11#b056b6bd2026-10-14 Inspect R21-11 rel:R21-11#57527f702026-10-14 Inspect R22-11 rel:R22-11#0f12bbca2026-10-14 Inspect R23-11 rel:R23-11#f0b325b82026-10-14 Inspect R24-11 rel:R24-11#88f50d562026-10-14 Inspect R25-11 rel:R25-11#a4d81c6b2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < OcspResponse ::Sptrc > ParseOcspResponse (ReadOnlyMemRegion response, FormatId formatId) const noexcept=0;
Parse serialized OCSP response.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 2f25210e0a2c
来源
用法与调用上下文
同步方法 ParseOcspResponse 是接口 ara::crypto::x509::X509Provider(定义于 ara/crypto/x509/x509_provider.h 中)的一部分,用于读取和解析序列化的 OCSP 响应 [SWS_CRYPT_50185] 。调用方通过参数 response 将响应的原始数据作为 ReadOnlyMemRegion 传递,并通过类型为 FormatId 的 formatId 传递期望的数据格式 [SWS_CRYPT_50185] 。在成功验证和处理后,该函数返回一个 ara::core::Result,其封装了指向新创建的 OCSP 响应对象的智能指针 OcspResponse::Sptrc [SWS_CRYPT_50185] 。
错误处理
错误情况通过具有回滚语义的返回类型 ara::core::Result 指示,且不抛出异常 [SWS_CRYPT_50185] :
ara::crypto::CryptoErrc::kInvalidArgument:在缓冲区 response 中提供的字节无法解析为有效 OCSP 响应时发生 [SWS_CRYPT_50185] 。
ara::crypto::CryptoErrc::kUnsupportedFormat:在传入的标识符 formatId 未知或不受 Provider 支持时报告 [SWS_CRYPT_50185] 。
并发与线程安全
该纯虚方法声明为 noexcept,归类为异常安全(exception safe ),并显式指定为线程安全(thread-safe )[SWS_CRYPT_50185] 。得益于 const 声明,在多线程环境中可以在同一 Provider 实例上并发调用 ParseOcspResponse,而不会修改对象的内部状态 [SWS_CRYPT_50185] 。
本文由 AI 基于 AUTOSAR 规范 R25-11 生成。
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe
Parameter (in)
Parameter Beschreibung response a serialized OCSP response formatId the format of the serialized OCSP response
Rückgabewert
Typ Beschreibung ara::core::Result < OcspResponse::Sptrc >Smart pointer to the created OCSP response instance
Fehler
Status: valid/unmigrated
Version: rel:R25-11#a8464cf9
Versionshistorie & Revisions (1 transition)
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_50185@rel:R25-11#a8464cf9
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ara::core::Result < void > RemoveCertificateFromGroup (const ara::core::InstanceSpecifier &instanceSpecifier, Certificate ::Sptrc certificate) noexcept=0;
Remove a certificate from a certificate group.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 6047b8eed140
来源
使用
来自作用域 ara::crypto::x509::X509Provider 的同步接口方法 RemoveCertificateFromGroup 用于有针对性地从现有证书组中移除证书 [SWS_CRYPT_50128] 。通过参数 instanceSpecifier 标识相关证书组,而 certificate 作为智能指针(Certificate::Sptrc)提供待移除的证书 [SWS_CRYPT_50128] 。该调用返回一个 ara::core::Result<void>,其确认成功完成且无返回值,或封装所发生的错误 [SWS_CRYPT_50128] 。
错误处理
若在执行时发生错误,则会应用定义的回滚语义,从而使证书组的状态保持不变 [SWS_CRYPT_50128] 。指定了以下错误代码:
并发与配置条件
该方法被指定为 thread-safe 与 exception safe,并声明为 noexcept [SWS_CRYPT_50128] 。在调用之前,系统模型中进程必须满足以下前提条件 [SWS_CRYPT_50128] :
为避免 ProcessMappingViolation,传入的 InstanceSpecifier 必须指向由为当前进程建模的 CryptoCertificateGroupInterface 进行类型化的 PortPrototype [SWS_CRYPT_50128] 。
为避免 InsufficientPermissionsViolation,当前进程必须拥有写权限,即 CryptoCertificateGroupToPortPrototypeMapping.writeAccess 必须配置为 True [SWS_CRYPT_50128] 。
此文本由 AI 基于 AUTOSAR 规范生成。
实现者指南即将推出(复杂度 I1)
Header-Datei #include "ara/crypto/x509/x509_provider.h" Scope class ara::crypto::x509::X509Provider Exception-Sicherheit exception safe Thread-Sicherheit thread-safe Verletzungen (Violations) ProcessMappingVio- In case InstanceSpecifier does not point to a PortPrototype typed lation by a CryptoCertificateGroupInterface modeled for the current process. InsufficientPer- In case the current process does not have write permissions, i.e., missionsViolation CryptoCertificateGroupToPortPrototypeMapping.writeAccess != True
Parameter (in)
Parameter Beschreibung instanceSpecifier an InstanceSpecifier identifying a certificate group certificate a certificate that should be removed from the certificate group
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#c929d5da
Versionshistorie & Revisions (1 transition)
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_50128@rel:R25-11#c929d5da
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R19-11
View Snapshot
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
X509Provider (const X509Provider &)=delete;
Status: valid/unmigrated
Version: rel:R25-11#a59769dd
Versionshistorie & Revisions (1 transition, 4 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_41013@rel:R25-11#a59769dd
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#9c2705c62026-09-30 Inspect R23-11 rel:R23-11#efcf94072026-10-14 Inspect R24-11 rel:R24-11#a59769dd2026-10-14 Inspect R25-11 rel:R25-11#a59769dd2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
X509Provider (X509Provider &&)=delete;
Status: valid/unmigrated
Version: rel:R25-11#5b6536a0
Versionshistorie & Revisions (1 transition, 4 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_41014@rel:R25-11#5b6536a0
Point-in-Time History:
Release:
R25-11 (Current / Active) R23-11 R24-11 R20-11 R19-11
View Snapshot
Recorded Revisions (4):
R25-11 rel:R25-11#fdd5b9a72026-09-30 Inspect R23-11 rel:R23-11#d7191e3b2026-10-14 Inspect R24-11 rel:R24-11#5b6536a02026-10-14 Inspect R25-11 rel:R25-11#5b6536a02026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
X509Provider & operator= (const X509Provider &other)=delete;
Copy-assign another X509Provider to this instance.
Status: valid/unmigrated
Version: rel:R25-11#12d2e41d
Versionshistorie & Revisions (1 transition, 7 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_30226@rel:R25-11#12d2e41d
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#aae6547a2026-09-30 Inspect R20-11 rel:R20-11#563473892026-10-14 Inspect R21-11 rel:R21-11#563473892026-10-14 Inspect R22-11 rel:R22-11#12450a782026-10-14 Inspect R23-11 rel:R23-11#f0fbd67b2026-10-14 Inspect R24-11 rel:R24-11#12d2e41d2026-10-14 Inspect R25-11 rel:R25-11#12d2e41d2026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
X509Provider & operator= (X509Provider &&other)=delete;
Move-assign another X509Provider to this instance.
Status: valid/unmigrated
Version: rel:R25-11#ff5ab280
Versionshistorie & Revisions (1 transition, 7 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_30227@rel:R25-11#ff5ab280
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#2b134e522026-09-30 Inspect R20-11 rel:R20-11#dd07e2212026-10-14 Inspect R21-11 rel:R21-11#dd07e2212026-10-14 Inspect R22-11 rel:R22-11#b03c080d2026-10-14 Inspect R23-11 rel:R23-11#64256a592026-10-14 Inspect R24-11 rel:R24-11#ff5ab2802026-10-14 Inspect R25-11 rel:R25-11#ff5ab2802026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record 2026-08-13-status-backfill
virtual ~X509Provider () noexcept=default;
Status: valid/unmigrated
Version: rel:R25-11#c0e827a2
Versionshistorie & Revisions (1 transition, 7 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_40604@rel:R25-11#c0e827a2
Point-in-Time History:
Release:
R25-11 (Current / Active) R20-11 R21-11 R22-11 R23-11 R24-11 R19-11
View Snapshot
Recorded Revisions (7):
R25-11 rel:R25-11#1b8a4c3c2026-09-30 Inspect R20-11 rel:R20-11#b5e2a64e2026-10-14 Inspect R21-11 rel:R21-11#eda85ff32026-10-14 Inspect R22-11 rel:R22-11#402ee9402026-10-14 Inspect R23-11 rel:R23-11#d51406d72026-10-14 Inspect R24-11 rel:R24-11#e1f88ed22026-10-14 Inspect R25-11 rel:R25-11#c0e827a22026-10-14 active Inspect
Historical Snapshot:
× Back to current
🚫
Requirement entfallen: Dieses Element ist im gewählten Release nicht mehr enthalten.
Requirement Text as-of this release:
Reachable Artifacts & Dependents:
Date Actor Transition Reason / Rationale Campaign
2026-08-13 tool none → valid/unmigratedmechanically 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 · 德文原文