类 ara::crypto::cryp::KeyEncapsulatorPublicCtx
[SWS_CRYPT_21800] Upstream: RS_CRYPTO_02104 , RS_CRYPTO_02209
class KeyEncapsulatorPublicCtx : public CryptoContext {...};
Asymmetric Key Encapsulation Mechanism (KEM) Public key Context interface.
Header-Datei #include "ara/crypto/cryp/key_encapsulator_public_ctx.h" Forwarding-Header #include "ara/crypto/crypto_fwd.h" Scope namespace ara::crypto::cryp Basisklasse(n) CryptoContext
用户指南人工智能生成 通过公钥非对称封装对称密钥,或在封装过程中生成对称密钥。
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: f00bc8643d8f
来源
未决问题(2)
摘要 详细
通过公钥非对称封装对称密钥,或在封装过程中生成对称密钥。
接口 ara::crypto::cryp::KeyEncapsulatorPublicCtx 支持非对称密钥封装机制(KEM),以打包对称密钥以便安全交换,或直接在封装过程中新生成对称密钥([SWS_CRYPT_50011] )。在执行之前,必须通过 SetKey 使用公钥或插槽初始化上下文,并确定所需的输出缓冲区大小([SWS_CRYPT_21815] )。主要约束条件是所需的密钥使用标志(例如 kAllowKeyWrapping)以及所有操作的完整线程安全性。
更多 ›
本指南仅基于 AUTOSAR Adaptive Platform Release R25-11 规范。
分组依据 类别 历史
成员图 类图 Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
G
nara__crypto__cryp__KeyEncapsulatorPublicCtx699
KeyEncapsulatorPublicCtx
+ Encapsulate()
+ GetRequiredOutputBufferSize()
+ SetKey()
nara__crypto__cryp__CryptoContext85
CryptoContext
nara__crypto__cryp__KeyEncapsulatorPublicCtx699->nara__crypto__cryp__CryptoContext85
详细视图 此版本没有元素数据
方法 Encapsulate the provided symmetric key.
重载 Encapsulate 2 Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.
Configure the context to use the provided key as encapsulation key.
重载 SetKey 2 类型别名 Smart pointer of the interface.
点击条目以查看其关系。
基类 派生类 使用 被使用于 继承 自此版本起移除 用于 此类中无关联 函数 AI 评注 打开类页面 无法加载类页面。 调整顺序 调整宽度 调整大纲宽度 章节 阅读时间 SWS 引用 图表 放回中间 调整顺序或拖到标题栏 取消停靠 – 在内容中显示 移到中间栏 作为标签停靠到标题栏 元素 AI 模型 打开审计档案 档案 打开简短版本 打开中等版本 打开完整版本 恢复默认视图 已恢复默认视图 撤销 关闭详细视图 签名 基本信息 值 截至所选版本的最后一次更改 之后的下一次更改 单击:选择版本 无法放在此处:拖到标题栏可停靠,拖到中间栏可取消停靠。 新增 已更改 未更改 已移除 未包含 更改 内容无变化 首次出现于 移除于 没有可用的版本数据。 正在加载版本数据 … 文本 此版本未收录措辞 悬停或单击单元格:与所选版本比较 · 单击版本标题:选择版本 选择版本 属性 版本 元素 只有一个版本有措辞 PDF 中存在,原文尚未导入 首次采集原文 自 {rel} 起未更改 版本颜色 最早版本 最新版本
方法文档
virtual ara::core::Result < std::size_t > Encapsulate (Symmetric Key::Sptr key, ReadWriteMemRegion encapsulatedKey) const noexcept=0;
Encapsulate the provided symmetric key.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 998c7d355307
来源
基于 AUTOSAR R25-11 自动生成的使用说明。
Parameter (in)
Parameter Beschreibung key the symmetric key to be encapsulated
Parameter (out)
Parameter Beschreibung encapsulatedKey an output buffer the encapsulated key is written to
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the size of the encapsulated key or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#5f08acc8
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_21813@rel:R25-11#5f08acc8
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#b3c8ad102026-09-30 Inspect R19-11 rel:R19-11#5df6f2a12026-10-14 Inspect R20-11 rel:R20-11#bc53d66f2026-10-14 Inspect R21-11 rel:R21-11#a093fad52026-10-14 Inspect R22-11 rel:R22-11#9a52ca012026-10-14 Inspect R23-11 rel:R23-11#dadd77c62026-10-14 Inspect R24-11 rel:R24-11#2cf84d842026-10-14 Inspect R25-11 rel:R25-11#5f08acc82026-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 < std::pair < std::size_t , SymmetricKey ::Sptr > > Encapsulate (AlgId algId, AllowedUsageFlags allowedUsage, Read WriteMemRegion encapsulatedKey) const noexcept=0;
Generate new a symmetric key and encapsulate it. Optionally store the generated key.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 68e8fc3273e7
来源
本段文本由 AI 基于规范生成。
Parameter (in)
Parameter Beschreibung algId the identifier of the target symmetric crypto algorithm allowedUsage the flags that define a list of allowed transformations’ types in which the target key can be used
Parameter (out)
Parameter Beschreibung encapsulatedKey an output buffer the encapsulated key is written to
Rückgabewert
Typ Beschreibung ara::core::Result <std::pair< std::size_t, SymmetricKey::Sptr > >a result containing a pair of the size of the encapsulated key and the generated symmetric key or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#7f7fdb0c
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_50011@rel:R25-11#7f7fdb0c
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 < std::size_t > GetRequiredOutputBufferSize (AlgId algId) const noexcept;
Calculate the maximum required size of the output buffer depending on the input size in the current state of the context.
Parameter (in)
Parameter Beschreibung algId the algId of the key to encapsulate
Rückgabewert
Typ Beschreibung ara::core::Result <std::size_t >a result containing the required capacity of the output buffer in bytes or an error
Fehler
Status: valid/unmigrated
Version: rel:R25-11#8834a17a
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_50013@rel:R25-11#8834a17a
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 > SetKey (PublicKey ::Sptr key) noexcept=0;
Configure the context to use the provided key as encapsulation key.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 4803853a1afa
来源
此使用说明由 AI 生成,基于 R25-11 版本的规范。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung key the key encapsulation key
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#135664c1
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_21815@rel:R25-11#135664c1
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#97afebd22026-09-30 Inspect R20-11 rel:R20-11#3e034d832026-10-14 Inspect R21-11 rel:R21-11#14e868c82026-10-14 Inspect R22-11 rel:R22-11#c056496f2026-10-14 Inspect R23-11 rel:R23-11#4a9295802026-10-14 Inspect R24-11 rel:R24-11#6638cae22026-10-14 Inspect R25-11 rel:R25-11#135664c12026-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 > SetKey (KeySlot ::Sptr keySlot) noexcept=0;
Configure the context to use the key stored in the provided KeySlot at the time the key encapsulation is performed.
用户指南
AI 生成
未审核
模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: c951ff682a31
来源
未决问题(1)
本使用说明基于 AUTOSAR Adaptive R25-11 规范自动生成。
实现者指南即将推出(复杂度 I2)
Parameter (in)
Parameter Beschreibung keySlot a keyslot containing a public key
Rückgabewert
Fehler
Status: valid/unmigrated
Version: rel:R25-11#b5e332fa
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_50012@rel:R25-11#b5e332fa
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
类型别名文档
using Sptr = std::shared_ptr <KeyEncapsulatorPublicCtx >;
Smart pointer of the interface.
Status: valid/unmigrated
Version: rel:R25-11#6c7506e9
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_21801@rel:R25-11#6c7506e9
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#d5df06eb2026-09-30 Inspect R19-11 rel:R19-11#3a23dd282026-10-14 Inspect R20-11 rel:R20-11#b2bfbd8b2026-10-14 Inspect R21-11 rel:R21-11#b2bfbd8b2026-10-14 Inspect R22-11 rel:R22-11#1b749d9b2026-10-14 Inspect R23-11 rel:R23-11#7bb57d5b2026-10-14 Inspect R24-11 rel:R24-11#7bb57d5b2026-10-14 Inspect R25-11 rel:R25-11#6c7506e92026-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 · 德文原文