Class: Capsium::Package::EncryptionEnvelope
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::EncryptionEnvelope
- Defined in:
- lib/capsium/package/encryption_config.rb,
sig/capsium/package/encryption_config.rbs
Overview
The "encryption" object of signature.json in an encrypted package: the AES-256-GCM envelope with the RSA-OAEP-SHA256 wrapped DEK, all binary values Base64-encoded.
Instance Attribute Summary collapse
-
#algorithm ⇒ String?
Returns the value of attribute algorithm.
-
#auth_tag ⇒ String?
Returns the value of attribute auth_tag.
-
#encrypted_dek ⇒ String?
Returns the value of attribute encrypted_dek.
-
#iv ⇒ String?
Returns the value of attribute iv.
-
#key_management ⇒ String?
Returns the value of attribute key_management.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ Object
13 |
# File 'sig/capsium/package/encryption_config.rbs', line 13
def initialize: (?algorithm: String? algorithm,
|
Instance Attribute Details
#algorithm ⇒ String?
Returns the value of attribute algorithm.
7 8 9 |
# File 'sig/capsium/package/encryption_config.rbs', line 7 def algorithm @algorithm end |
#auth_tag ⇒ String?
Returns the value of attribute auth_tag.
11 12 13 |
# File 'sig/capsium/package/encryption_config.rbs', line 11 def auth_tag @auth_tag end |
#encrypted_dek ⇒ String?
Returns the value of attribute encrypted_dek.
9 10 11 |
# File 'sig/capsium/package/encryption_config.rbs', line 9 def encrypted_dek @encrypted_dek end |
#iv ⇒ String?
Returns the value of attribute iv.
10 11 12 |
# File 'sig/capsium/package/encryption_config.rbs', line 10 def iv @iv end |
#key_management ⇒ String?
Returns the value of attribute key_management.
8 9 10 |
# File 'sig/capsium/package/encryption_config.rbs', line 8 def key_management @key_management end |
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
20 |
# File 'sig/capsium/package/encryption_config.rbs', line 20
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
19 |
# File 'sig/capsium/package/encryption_config.rbs', line 19
def to_json: (*untyped args) -> String
|