Class: PQCrypto::Seal::Opened
- Inherits:
-
Struct
- Object
- Struct
- PQCrypto::Seal::Opened
- Defined in:
- lib/pq_crypto/seal/models.rb
Instance Attribute Summary collapse
-
#content_suite_id ⇒ Object
Returns the value of attribute content_suite_id.
-
#data ⇒ Object
Returns the value of attribute data.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#padding_policy_id ⇒ Object
Returns the value of attribute padding_policy_id.
-
#payload_id ⇒ Object
Returns the value of attribute payload_id.
-
#public_metadata ⇒ Object
Returns the value of attribute public_metadata.
-
#wrap_suite_id ⇒ Object
Returns the value of attribute wrap_suite_id.
Class Method Summary collapse
Instance Attribute Details
#content_suite_id ⇒ Object
Returns the value of attribute content_suite_id
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def content_suite_id @content_suite_id end |
#data ⇒ Object
Returns the value of attribute data
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def data @data end |
#metadata ⇒ Object
Returns the value of attribute metadata
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def @metadata end |
#padding_policy_id ⇒ Object
Returns the value of attribute padding_policy_id
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def padding_policy_id @padding_policy_id end |
#payload_id ⇒ Object
Returns the value of attribute payload_id
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def payload_id @payload_id end |
#public_metadata ⇒ Object
Returns the value of attribute public_metadata
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def @public_metadata end |
#wrap_suite_id ⇒ Object
Returns the value of attribute wrap_suite_id
17 18 19 |
# File 'lib/pq_crypto/seal/models.rb', line 17 def wrap_suite_id @wrap_suite_id end |
Class Method Details
.build(header, section, data:, metadata:) ⇒ Object
22 23 24 |
# File 'lib/pq_crypto/seal/models.rb', line 22 def self.build(header, section, data:, metadata:) new(data: data, metadata: , **SHARED_ENVELOPE_ATTRS.call(header, section)) end |