TSDuck v3.38-3699
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ecmgscs::CPCWCombination Struct Reference

A combination of CP number and CW for ECMG <=> SCS CW_provision command. More...

#include <tsECMGSCS.h>

Collaboration diagram for ts::ecmgscs::CPCWCombination:

Public Member Functions

 CPCWCombination (uint16_t cpn, const ByteBlock &cwb)
 Constructor.
 
 CPCWCombination (uint16_t cpn=0, const void *cw_addr=nullptr, size_t cw_size=DVBCSA2::KEY_SIZE)
 Constructor.
 

Public Attributes

uint16_t CP = 0
 Crypto-period number.
 
ByteBlock CW {}
 Control word.
 

Detailed Description

A combination of CP number and CW for ECMG <=> SCS CW_provision command.

Constructor & Destructor Documentation

◆ CPCWCombination() [1/2]

ts::ecmgscs::CPCWCombination::CPCWCombination ( uint16_t  cpn,
const ByteBlock cwb 
)
inline

Constructor.

Parameters
[in]cpnCrypto-period number.
[in]cwbControl word.

◆ CPCWCombination() [2/2]

ts::ecmgscs::CPCWCombination::CPCWCombination ( uint16_t  cpn = 0,
const void *  cw_addr = nullptr,
size_t  cw_size = DVBCSA2::KEY_SIZE 
)
inline

Constructor.

Parameters
[in]cpnCrypto-period number.
[in]cw_addrControl word address.
[in]cw_sizeControl word size in bytes.

The documentation for this struct was generated from the following file: