struct Murcure::Protos::CryptSetup

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :key, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :client_nonce, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :server_nonce, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(key : Slice(UInt8) | Nil = nil, client_nonce : Slice(UInt8) | Nil = nil, server_nonce : Slice(UInt8) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def client_nonce : Slice(UInt8) | Nil #

def client_nonce=(client_nonce : Slice(UInt8) | Nil) #

def key : Slice(UInt8) | Nil #

def key=(key : Slice(UInt8) | Nil) #

def server_nonce : Slice(UInt8) | Nil #

def server_nonce=(server_nonce : Slice(UInt8) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #