Skip to main content

Module ca_support

Module ca_support 

Source
Expand description

Conditional Access Support — CI Plus multi-stream ca_pmt / ca_pmt_reply — ETSI TS 103 205 V1.4.1 §6.4.4, Tables 14/16 (PDF pp. 38-40). See docs/ts_103_205/ca-support.md.

For multi-stream functionality the CA Support resource gets a new resource_type (= 2, version = 1) in which ca_pmt() and ca_pmt_reply() are extended with a leading LTS_id; ca_pmt() additionally carries a PMT_PID. The apdu_tags are unchanged (ca_pmt 0x9F8032, ca_pmt_reply 0x9F8033).

§Deferred resource_id

TS 103 205 §6.4.4.1 (render-verified) does not print a full 32-bit resource_identifier for this resource_type — only the prose “resource_type = 2, version = 1”. The authoritative value is in CI Plus V1.3 [3]. So these objects are provided as standalone, directly-constructible / parseable typed structs (full Parse/Serialize) and are not wired into crate::ci_plus::CiPlusApdu’s resource dispatch — there is no invented resource_id constant. A small CaSupportApdu::parse helper dispatches on the apdu_tag for callers that already know they are in a multi-stream CA Support session.

These extended bodies reuse the EN 50221 value enums (ca_pmt_list_management, ca_pmt_cmd_id, CA_enable); Table 15 narrows ca_pmt_list_management to the {Only=0x03, Update=0x05} subset in multi-stream mode (a usage constraint — any value still round-trips via the full enum).

Re-exports§

pub use crate::objects::ca_pmt::CaPmtCmdId as MsCaPmtCmdId;
pub use crate::objects::ca_pmt::CaPmtListManagement as MsCaPmtListManagement;
pub use crate::objects::ca_pmt_reply::CaEnable as MsCaEnable;

Structs§

MsCaPmt
CI Plus multi-stream ca_pmt() (Table 14): Host → CICAM. Differs from the EN 50221 ca_pmt by the leading LTS_id and the added PMT_PID.
MsCaPmtReply
CI Plus multi-stream ca_pmt_reply() (Table 16): CICAM → Host. Differs from the EN 50221 ca_pmt_reply by the leading LTS_id.
MsCaPmtReplyStream
One ES entry of a CI Plus multi-stream ca_pmt_reply (Table 16).
MsCaPmtStream
One elementary-stream entry of a CI Plus multi-stream ca_pmt (Table 14).

Enums§

CaSupportApdu
A parsed CI Plus multi-stream CA-support object.