struct Matter::Session::Case::Definitions::SignedData

Overview

TLV structure for signed data in Sigma2 Used as input for signature generation

Included Modules

Defined in:

matter/session/case/definitions.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(responder_noc : Bytes, responder_icac : Bytes | Nil, responder_public_key : Bytes, initiator_public_key : Bytes) #

[View source]
def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def initiator_public_key : Bytes #

Initiator public key (tag 4)


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

Initiator public key (tag 4)


[View source]
def responder_icac : Bytes | Nil #

Responder ICAC - optional (tag 2)


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

Responder ICAC - optional (tag 2)


[View source]
def responder_noc : Bytes #

Responder NOC (tag 1)


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

Responder NOC (tag 1)


[View source]
def responder_public_key : Bytes #

Responder public key (tag 3)


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

Responder public key (tag 3)


[View source]
def to_bytes : Bytes #

DEPRECATED Use #to_slice instead


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]