Struct p25::voice::crypto::CryptoControlFields
[−]
[src]
pub struct CryptoControlFields(_);
Information necessary to decrypt an encrypted message.
Methods
impl CryptoControlFields[src]
pub fn new(buf: Buf) -> Self[src]
Create a new CryptoControlFields decoder from the given bytes.
pub fn init(&self) -> &[u8][src]
Initialization vector used internally by associated crypto algorithm.
pub fn alg(&self) -> CryptoAlgorithm[src]
Type of crypto algorithm in use, if any.
pub fn key(&self) -> u16[src]
Encryption key to use.