struct

Orc::Proto::EncryptionKey

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :key_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :key_version, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :algorithm, pb_type: EncryptionAlgorithm, crystal_type: EncryptionAlgorithm, cast_type: EncryptionAlgorithm?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(key_name : String | Nil = nil, key_version : UInt32 | Nil = nil, algorithm : EncryptionAlgorithm | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
algorithm
algorithm=(algorithm : EncryptionAlgorithm | Nil)
key_name
key_name=(key_name : String | Nil)
key_version
key_version=(key_version : UInt32 | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf