Class: PQCrypto::Seal::Inspection
- Inherits:
-
Struct
- Object
- Struct
- PQCrypto::Seal::Inspection
- Defined in:
- lib/pq_crypto/seal/models.rb
Instance Attribute Summary collapse
-
#content_suite_id ⇒ Object
Returns the value of attribute content_suite_id.
-
#envelope_bytes ⇒ Object
Returns the value of attribute envelope_bytes.
-
#padded_inner_length ⇒ Object
Returns the value of attribute padded_inner_length.
-
#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.
-
#recipient_capacity ⇒ Object
Returns the value of attribute recipient_capacity.
-
#slot_size ⇒ Object
Returns the value of attribute slot_size.
-
#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
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def content_suite_id @content_suite_id end |
#envelope_bytes ⇒ Object
Returns the value of attribute envelope_bytes
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def envelope_bytes @envelope_bytes end |
#padded_inner_length ⇒ Object
Returns the value of attribute padded_inner_length
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def padded_inner_length @padded_inner_length end |
#padding_policy_id ⇒ Object
Returns the value of attribute padding_policy_id
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def padding_policy_id @padding_policy_id end |
#payload_id ⇒ Object
Returns the value of attribute payload_id
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def payload_id @payload_id end |
#public_metadata ⇒ Object
Returns the value of attribute public_metadata
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def @public_metadata end |
#recipient_capacity ⇒ Object
Returns the value of attribute recipient_capacity
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def recipient_capacity @recipient_capacity end |
#slot_size ⇒ Object
Returns the value of attribute slot_size
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def slot_size @slot_size end |
#wrap_suite_id ⇒ Object
Returns the value of attribute wrap_suite_id
27 28 29 |
# File 'lib/pq_crypto/seal/models.rb', line 27 def wrap_suite_id @wrap_suite_id end |
Class Method Details
.build(header, section, envelope_bytes:) ⇒ Object
33 34 35 36 37 38 39 40 41 |
# File 'lib/pq_crypto/seal/models.rb', line 33 def self.build(header, section, envelope_bytes:) new( recipient_capacity: header.recipient_capacity, slot_size: header.slot_size, padded_inner_length: header.padded_inner_length, envelope_bytes: envelope_bytes, **SHARED_ENVELOPE_ATTRS.call(header, section) ) end |