Class: Privy::Models::HpkeImportConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::HpkeImportConfig
- Defined in:
- lib/privy/models/hpke_import_config.rb
Instance Attribute Summary collapse
-
#aad ⇒ String?
Additional Authenticated Data (AAD) used during encryption.
-
#aead_algorithm ⇒ Symbol, ...
The AEAD algorithm used for HPKE encryption.
-
#info ⇒ String?
Application-specific context information (INFO) used during HPKE encryption.
Instance Method Summary collapse
-
#initialize(aad: nil, aead_algorithm: nil, info: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see HpkeImportConfig for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(aad: nil, aead_algorithm: nil, info: nil) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::HpkeImportConfig for more details.
Optional HPKE configuration for wallet import decryption. These parameters allow importing wallets encrypted by external providers that use different HPKE configurations.
|
|
# File 'lib/privy/models/hpke_import_config.rb', line 26
|
Instance Attribute Details
#aad ⇒ String?
Additional Authenticated Data (AAD) used during encryption. Should be base64-encoded bytes.
11 |
# File 'lib/privy/models/hpke_import_config.rb', line 11 optional :aad, String |
#aead_algorithm ⇒ Symbol, ...
The AEAD algorithm used for HPKE encryption.
17 |
# File 'lib/privy/models/hpke_import_config.rb', line 17 optional :aead_algorithm, enum: -> { Privy::HpkeAeadAlgorithm } |
#info ⇒ String?
Application-specific context information (INFO) used during HPKE encryption. Should be base64-encoded bytes.
24 |
# File 'lib/privy/models/hpke_import_config.rb', line 24 optional :info, String |