Class: Capsium::Package::EncryptionConfig

Inherits:
Lutaml::Model::Serializable
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEncryptionConfig

Returns a new instance of EncryptionConfig.

Parameters:



31
# File 'sig/capsium/package/encryption_config.rbs', line 31

def initialize: (?encryption: EncryptionEnvelope? encryption) -> void

Instance Attribute Details

#encryptionEncryptionEnvelope?

Returns the value of attribute encryption.

Returns:



29
30
31
# File 'sig/capsium/package/encryption_config.rbs', line 29

def encryption
  @encryption
end

Class Method Details

.from_jsoninstance

Parameters:

Returns:



33
# File 'sig/capsium/package/encryption_config.rbs', line 33

def self.from_json: (String json) -> instance

Instance Method Details

#to_hashHash[String, untyped]

Returns:



36
# File 'sig/capsium/package/encryption_config.rbs', line 36

def to_hash: () -> Hash[String, untyped]

#to_jsonString

Parameters:

Returns:



35
# File 'sig/capsium/package/encryption_config.rbs', line 35

def to_json: (*untyped args) -> String