Orc::Proto::Encryption
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)
Class methods
from_protobuf(io)
Instance methods
[](key : String)
key
key_provider
key_provider=(key_provider : KeyProviderKind | Nil)
mask
to_protobuf(io : IO, embedded = false)
to_protobuf
variants