struct Orc::Proto::EncryptionKey
- Orc::Proto::EncryptionKey
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
orc/definition/orc.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .new(key_name : String | Nil = nil, key_version : UInt32 | Nil = nil, algorithm : EncryptionAlgorithm | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #algorithm : EncryptionAlgorithm | Nil
- #algorithm=(algorithm : EncryptionAlgorithm | Nil)
- #key_name : String | Nil
- #key_name=(key_name : String | Nil)
- #key_version : UInt32 | Nil
- #key_version=(key_version : UInt32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(key_name : String | Nil = nil, key_version : UInt32 | Nil = nil, algorithm : EncryptionAlgorithm | Nil = nil)
#