struct Murcure::Protos::CryptSetup
- Murcure::Protos::CryptSetup
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant 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
- .new(buf : Protobuf::Buffer)
- .new(key : Slice(UInt8) | Nil = nil, client_nonce : Slice(UInt8) | Nil = nil, server_nonce : Slice(UInt8) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #client_nonce : Slice(UInt8) | Nil
- #client_nonce=(client_nonce : Slice(UInt8) | Nil)
- #key : Slice(UInt8) | Nil
- #key=(key : Slice(UInt8) | Nil)
- #server_nonce : Slice(UInt8) | Nil
- #server_nonce=(server_nonce : Slice(UInt8) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(key : Slice(UInt8) | Nil = nil, client_nonce : Slice(UInt8) | Nil = nil, server_nonce : Slice(UInt8) | Nil = nil)
#