Class: Capsium::Package::DigitalSignatures
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::DigitalSignatures
- Defined in:
- lib/capsium/package/security_config.rb,
sig/capsium/package/security_config.rbs
Overview
The "digitalSignatures" object of security.json: certificateType selects the signature scheme (absent = RSA-SHA256/X.509, "OpenPGP" = OpenPGP).
Instance Attribute Summary collapse
-
#certificate_type ⇒ String?
Returns the value of attribute certificate_type.
-
#public_key ⇒ String?
Returns the value of attribute public_key.
-
#signature_file ⇒ String?
Returns the value of attribute signature_file.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ Object
26 |
# File 'sig/capsium/package/security_config.rbs', line 26
def initialize: (?certificate_type: String? certificate_type,
|
Instance Attribute Details
#certificate_type ⇒ String?
Returns the value of attribute certificate_type.
22 23 24 |
# File 'sig/capsium/package/security_config.rbs', line 22 def certificate_type @certificate_type end |
#public_key ⇒ String?
Returns the value of attribute public_key.
23 24 25 |
# File 'sig/capsium/package/security_config.rbs', line 23 def public_key @public_key end |
#signature_file ⇒ String?
Returns the value of attribute signature_file.
24 25 26 |
# File 'sig/capsium/package/security_config.rbs', line 24 def signature_file @signature_file end |
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
31 |
# File 'sig/capsium/package/security_config.rbs', line 31
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
30 |
# File 'sig/capsium/package/security_config.rbs', line 30
def to_json: (*untyped args) -> String
|