struct Orc::Proto::Encryption
- Orc::Proto::Encryption
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
orc/definition/orc.pb.crConstant 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
- .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 Method Summary
Instance Method Summary
- #[](key : String)
- #key : Array(EncryptionKey) | Nil
- #key=(key : Array(EncryptionKey) | Nil)
- #key_provider : KeyProviderKind | Nil
- #key_provider=(key_provider : KeyProviderKind | Nil)
- #mask : Array(DataMask) | Nil
- #mask=(mask : Array(DataMask) | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #variants : Array(EncryptionVariant) | Nil
- #variants=(variants : Array(EncryptionVariant) | Nil)
Constructor Detail
def self.new(mask : Array(DataMask) | Nil = nil, key : Array(EncryptionKey) | Nil = nil, variants : Array(EncryptionVariant) | Nil = nil, key_provider : KeyProviderKind | Nil = nil)
#