struct

Orc::Proto::Encryption

Inherits Protobuf::Message < Struct < Value < Object

Constants

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

new(buf : Protobuf::Buffer)
new(mask : Array(DataMask) | Nil = nil, key : Array(EncryptionKey) | Nil = nil, variants : Array(EncryptionVariant) | Nil = nil, key_provider : KeyProviderKind | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
key
key=(key : Array(EncryptionKey) | Nil)
key_provider
key_provider=(key_provider : KeyProviderKind | Nil)
mask
mask=(mask : Array(DataMask) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
variants
variants=(variants : Array(EncryptionVariant) | Nil)