struct Orc::Proto::Encryption

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

FIELDS = {1 => {name: :mask, pb_type: DataMask, crystal_type: DataMask, cast_type: Array(DataMask)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :key, pb_type: EncryptionKey, crystal_type: EncryptionKey, cast_type: Array(EncryptionKey)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :variants, pb_type: EncryptionVariant, crystal_type: EncryptionVariant, cast_type: Array(EncryptionVariant)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :key_provider, pb_type: KeyProviderKind, crystal_type: KeyProviderKind, cast_type: KeyProviderKind?, 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(mask : Array(DataMask) | Nil = nil, key : Array(EncryptionKey) | Nil = nil, variants : Array(EncryptionVariant) | Nil = nil, key_provider : KeyProviderKind | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def key : Array(EncryptionKey) | Nil #

def key=(key : Array(EncryptionKey) | Nil) #

def key_provider : KeyProviderKind | Nil #

def key_provider=(key_provider : KeyProviderKind | Nil) #

def mask : Array(DataMask) | Nil #

def mask=(mask : Array(DataMask) | Nil) #

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

def to_protobuf #

def variants : Array(EncryptionVariant) | Nil #

def variants=(variants : Array(EncryptionVariant) | Nil) #