struct Orc::Proto::EncryptionKey

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(key_name : String | Nil = nil, key_version : UInt32 | Nil = nil, algorithm : EncryptionAlgorithm | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def algorithm : EncryptionAlgorithm | Nil #

def algorithm=(algorithm : EncryptionAlgorithm | Nil) #

def key_name : String | Nil #

def key_name=(key_name : String | Nil) #

def key_version : UInt32 | Nil #

def key_version=(key_version : UInt32 | Nil) #

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

def to_protobuf #