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:



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

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

Instance Attribute Details

#encryptionEncryptionEnvelope?

Returns the value of attribute encryption.

Returns:



25
26
27
# File 'sig/capsium/package/encryption_config.rbs', line 25

def encryption
  @encryption
end

Class Method Details

.from_jsoninstance

Parameters:

  • json (String)

Returns:

  • (instance)


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

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

Instance Method Details

#to_hashHash[String, untyped]

Returns:

  • (Hash[String, untyped])


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

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

#to_jsonString

Parameters:

  • args (Object)

Returns:

  • (String)


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

def to_json: (*untyped args) -> String