struct Matter::Session::Case::Definitions::EncryptedDataSigma2

Overview

TLV structure for encrypted data in Sigma2 This structure is TLV-encoded, then encrypted

Defined in:

matter/session/case/definitions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_bytes(data : Bytes) : EncryptedDataSigma2 #

Constructor from TLV bytes (after decryption)


[View source]
def self.new(responder_noc : Bytes, responder_icac : Bytes | Nil, signature : Bytes, resumption_id : Bytes) #

[View source]

Instance Method Detail

def responder_icac : Bytes | Nil #

[View source]
def responder_icac=(responder_icac : Bytes | Nil) #

[View source]
def responder_noc : Bytes #

[View source]
def responder_noc=(responder_noc : Bytes) #

[View source]
def resumption_id : Bytes #

[View source]
def resumption_id=(resumption_id : Bytes) #

[View source]
def signature : Bytes #

[View source]
def signature=(signature : Bytes) #

[View source]
def to_bytes : Bytes #

Encode to TLV bytes for encryption


[View source]