Class: Capsium::Package::EncryptionConfig
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::EncryptionConfig
- Defined in:
- lib/capsium/package/encryption_config.rb,
sig/capsium/package/encryption_config.rbs
Overview
The signature.json file of an encrypted package.
Instance Attribute Summary collapse
-
#encryption ⇒ EncryptionEnvelope?
Returns the value of attribute encryption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ EncryptionConfig
constructor
A new instance of EncryptionConfig.
- #to_hash ⇒ Hash[String, untyped]
- #to_json ⇒ String
Constructor Details
#initialize ⇒ EncryptionConfig
Returns a new instance of EncryptionConfig.
27 |
# File 'sig/capsium/package/encryption_config.rbs', line 27
def initialize: (?encryption: EncryptionEnvelope? encryption) -> void
|
Instance Attribute Details
#encryption ⇒ EncryptionEnvelope?
Returns the value of attribute encryption.
25 26 27 |
# File 'sig/capsium/package/encryption_config.rbs', line 25 def encryption @encryption end |
Class Method Details
.from_json ⇒ instance
29 |
# File 'sig/capsium/package/encryption_config.rbs', line 29
def self.from_json: (String json) -> instance
|
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
32 |
# File 'sig/capsium/package/encryption_config.rbs', line 32
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
31 |
# File 'sig/capsium/package/encryption_config.rbs', line 31
def to_json: (*untyped args) -> String
|