Class: Capsium::Package::IntegrityChecks
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::IntegrityChecks
- Defined in:
- lib/capsium/package/security_config.rb,
sig/capsium/package/security_config.rbs
Overview
The "integrityChecks" object of security.json: SHA-256 checksums keyed by package-relative path.
Constant Summary collapse
- ALGORITHMS =
%w[SHA-256].freeze
Instance Attribute Summary collapse
-
#checksum_algorithm ⇒ String
Returns the value of attribute checksum_algorithm.
-
#checksums ⇒ Hash[String, String]
Returns the value of attribute checksums.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ Object
11 |
# File 'sig/capsium/package/security_config.rbs', line 11
def initialize: (?checksum_algorithm: String? checksum_algorithm,
|
Instance Attribute Details
#checksum_algorithm ⇒ String
Returns the value of attribute checksum_algorithm.
8 9 10 |
# File 'sig/capsium/package/security_config.rbs', line 8 def checksum_algorithm @checksum_algorithm end |
#checksums ⇒ Hash[String, String]
Returns the value of attribute checksums.
9 10 11 |
# File 'sig/capsium/package/security_config.rbs', line 9 def checksums @checksums end |
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
15 |
# File 'sig/capsium/package/security_config.rbs', line 15
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
14 |
# File 'sig/capsium/package/security_config.rbs', line 14
def to_json: (*untyped args) -> String
|