Class: Sdkey::Crypto::Seal::SealedEnvelope
- Inherits:
-
Struct
- Object
- Struct
- Sdkey::Crypto::Seal::SealedEnvelope
- Defined in:
- lib/sdkey/crypto/seal.rb
Instance Attribute Summary collapse
-
#ciphertext_b64 ⇒ Object
Returns the value of attribute ciphertext_b64.
-
#iv_b64 ⇒ Object
Returns the value of attribute iv_b64.
-
#tag_b64 ⇒ Object
Returns the value of attribute tag_b64.
Instance Method Summary collapse
Instance Attribute Details
#ciphertext_b64 ⇒ Object
Returns the value of attribute ciphertext_b64
14 15 16 |
# File 'lib/sdkey/crypto/seal.rb', line 14 def ciphertext_b64 @ciphertext_b64 end |
#iv_b64 ⇒ Object
Returns the value of attribute iv_b64
14 15 16 |
# File 'lib/sdkey/crypto/seal.rb', line 14 def iv_b64 @iv_b64 end |
#tag_b64 ⇒ Object
Returns the value of attribute tag_b64
14 15 16 |
# File 'lib/sdkey/crypto/seal.rb', line 14 def tag_b64 @tag_b64 end |
Instance Method Details
#as_wire ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/sdkey/crypto/seal.rb', line 15 def as_wire { "ivB64" => iv_b64, "ciphertextB64" => ciphertext_b64, "tagB64" => tag_b64 } end |