DEENESPTFRRUARHIKOZHNL

服务接口 VerificationStatusConfigurationByDataId

Als ara::com-Dienst modellierte Schnittstelle; Methoden/Felder werden über generierte Proxies/Skeletons aufgerufen (Parameterrichtung IN/OUT).

用户指南人工智能生成

支持针对特定数据 ID 对 SecOC 验证行为进行定向重写。
AI 生成 未审核 模型: gemini-3.8-flash-medium · 推理强度: medium · 温度: 不可控 · 提示词: 1e4728482bac 来源 未决问题(3)
译自德文指南gemini-3.8-flash-low · 2026-10-13 · 德文原文

支持针对特定数据 ID 对 SecOC 验证行为进行定向重写。

处于 DRAFT 状态的服务接口 VerificationStatusConfigurationByDataId 由 Functional Cluster Communication Management 提供,用于动态配置特定数据 ID 的 SecOC 验证行为 ([SWS_CM_11369])。通过方法 VerifyStatusOverride,获授权的应用程序可以强制接受、丢弃或跳过消息,并指定已定义的验证结果 ([SWS_CM_10050])。该方法调用通过 Fire & Forget false 进行同步确认,其中还可以通过计数器参数限制为固定数量的连续消息。

1. 服务接口的角色和系统上下文

服务接口 VerificationStatusConfigurationByDataId 由 Functional Cluster Communication Management (CM) 作为服务端口提供 ([SWS_CM_11369])。在 AUTOSAR Adaptive 的服务架构中,通信管理充当服务提供者 (Skeleton) 的角色,而获授权的功能应用程序作为使用者通过生成的代理进行交互 (AUTOSAR_AP_SWS_CommunicationManagement §8.x “Definition of Port VerificationStatusConfigurationByDataId”)。该接口的主要任务是针对传入的消息标识符 (dataID) 定向配置和重写安全车载通信 (SecOC) 的加密验证行为 ([SWS_CM_10050])。

该接口补充了常规的验证状态报告服务,系统通过该服务将每个验证结果转发给应用程序 ([SWS_CM_11278])。该配置接口的使用者通常可能是专门的安全管理系统、入侵检测系统 (IDS) 或测试与诊断应用程序,它们动态控制和监视消息的丢弃或转发 (AUTOSAR_AP_SWS_CommunicationManagement §9.1 “SecOC VerificationStatus”)。 问题 Q-93c34e1f19b92c49 (未决)通过这种方式,Communication Management 能够在运行过程中对验证结果进行定向重写 ([SWS_CM_11279])。

2. 方法、事件和字段

该服务规范既不包含事件也不包含字段,而是仅定义了一个同步或可反馈的客户端-服务器方法 ([SWS_CM_10050]):

  • VerifyStatusOverride:在接收消息时强制执行特定的 SecOC 行为(在执行或不执行身份验证器验证的情况下接受或丢弃),并允许为 VerificationStatusResult 设置已定义的结果 ([SWS_CM_10050])。

该方法的版本为 1.0,并指定为 Fire & Forget false ([SWS_CM_10050])。因此在 ara::com 的 C++ 编程模型中,该调用通常返回确认配置完成的 ara::core::Future(解释)。 问题 Q-44d3566c154670c9 (未决)该方法定义了三个输入参数 ([SWS_CM_10050]):

  • dataID(方向 IN,类型 uint16_t):要对其应用重写的消息的唯一标识符 ([SWS_CM_10050])。
  • overrideStatus(方向 IN,类型 OverrideStatus):枚举值,用于确定是否执行验证、是否丢弃或转发消息以及重写保持活动状态的持续时间 ([SWS_CM_10050])。
  • numberOfMessagesToOverride(方向 IN,类型 uint8_t):要重写的连续验证操作的数量。仅当 overrideStatus 设置为 kSecOcOverrideDropUntilLimit、kSecOcOverrideSkipUntilLimit 或 kSecOcOverridePassUntilLimit 时,才会考虑该计数器 ([SWS_CM_10050])。

3. 生命周期、会话流程与状态依赖性

服务端口 VerificationStatusConfigurationByDataId 的定义在版本 R25-11 中标记为状态 DRAFT ([SWS_CM_11369])。在 Functional Cluster Communication Management 启动后,它将提供 Skeleton 服务,随后感兴趣的使用者通过服务发现对其进行解析并绑定 (AUTOSAR_AP_SWS_CommunicationManagement §8.x “Definition of Port VerificationStatusConfigurationByDataId”)。

通过 VerifyStatusOverride 进行验证覆盖Client-ApplikationCM (Skeleton)SecOC-EngineUse Case: Override-KonfigurationVerifyStatusOverride(dataID, overrideStatus, numberOfMessagesToOverride)参数检查与应用为 dataID 激活覆盖反馈(成功 / Future 已兑现)Use Case: 活动覆盖下的报文处理Eingehende Botschaft: Erzwinge Verhalten (Pass/Drop/Skip)

时序图:通过方法 VerifyStatusOverride 进行验证状态重写的流程。来源:[SWS_CM_10050]、[SWS_CM_11279]、AUTOSAR_AP_SWS_CommunicationManagement §9.1 “SecOC VerificationStatus”。

常规情况下,SecOC 中的身份验证器验证失败会导致相关消息被丢弃 (AUTOSAR_AP_SWS_CommunicationManagement §9.1 “SecOC VerificationStatus”)。但是,一旦成功调用了 VerifyStatusOverride,保存的配置将立即对指定 dataID 的所有后续消息生效 ([SWS_CM_10050])。根据参数 overrideStatus,操作要么永久保持活动状态,要么在处理完计数器 numberOfMessagesToOverride 中定义的消息数量后自动结束 ([SWS_CM_10050])。

4. 错误处理与 Application Errors

由于 VerifyStatusOverride 不具备 Fire-and-Forget 行为,因此调用应用程序会收到关于配置请求结果的显式反馈 ([SWS_CM_10050])。标准中未针对该服务接口声明特定的 Application Error 或错误代码;因此,任何调用错误都可能通过 ara::com 基础设施的通用错误域进行报告 ([SWS_CM_10050])。 问题 Q-d1e549f2415ac403 (未决)

在业务层面上,该服务本身用作应用端错误处理的核心工具:通过能够强制指定特定的 VerificationStatusResult,可以刺激并验证应用程序中的错误处理例程 ([SWS_CM_10050])。这使得 IDS 或安全管理系统能够定向演练模拟攻击或故障传输,并在整个系统中测试适当的动态对策 (AUTOSAR_AP_SWS_CommunicationManagement §9.1 “SecOC VerificationStatus”)。

本指南基于 AUTOSAR Adaptive R25-11 规范,并总结了服务接口 VerificationStatusConfigurationByDataId 的需求。

Mitglieder

成员图

详细视图

请在大纲中选择一个条目。

方法

This service method provides the ability to force specific behavior of SecOc: accept or drop a message with or without performing the verification of authenticator or independent of the authenticator verification result, and to force a specific result for VerificationStatusResult allowing additional fault handling in the application.

VerifyStatusOverride (IN uint16_t dataID, IN OverrideStatus overrideStatus, IN uint8_t numberOfMessagesToOverride)

数据类型

OverrideStatus 数据类型

文档

服务方法 VerifyStatusOverride [SWS_CM_10050] Upstream: RS_CM_00801, RS_CM_00802, RS_CM_00803, RS_CM_00804

VerifyStatusOverride (IN uint16_t dataID, IN OverrideStatus overrideStatus, IN uint8_t numberOfMessagesToOverride)

This service method provides the ability to force specific behavior of SecOc: accept or drop a message with or without performing the verification of authenticator or independent of the authenticator verification result, and to force a specific result for VerificationStatusResult allowing additional fault handling in the application.

Scopeservice interface VerificationStatusConfigurationByDataId
Fire & Forgetfalse
Version1.0

Parameter

NameRichtungTypBeschreibung
dataIDINuint16_tData ID for which the override operation shall happen
overrideStatusINOverrideStatusThe override status enum that defines whether verification is executed and whether the message is passed on, and for how long the override is active
numberOfMessagesToOverrideINuint8_tNumber of sequential VerifyStatus to override when using a specific counter for authentication verification. This is only considered when OverrideStatus is equal to k SecOcOverrideDropUntilLimit, kSecOcOverrideSkipUntilLimit or kSecOcOverride PassUntilLimit.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_10050
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10050@rel:R25-11#86363630
Content hash
86363630
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10050
Status: valid/unmigrated Version: rel:R25-11#cb348d40 Versionshistorie & Revisions (1 transition, 3 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_CM_10050@rel:R25-11#cb348d40
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#abcf1f312026-09-30
  • R24-11rel:R24-11#2e1860302026-10-14
  • R25-11rel:R25-11#cb348d402026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill