Class: SshTresor::Slot
- Inherits:
-
Struct
- Object
- Struct
- SshTresor::Slot
- Defined in:
- lib/ssh_tresor/format.rb
Instance Attribute Summary collapse
-
#challenge ⇒ Object
Returns the value of attribute challenge.
-
#encrypted_key ⇒ Object
Returns the value of attribute encrypted_key.
-
#fingerprint ⇒ Object
Returns the value of attribute fingerprint.
-
#nonce ⇒ Object
Returns the value of attribute nonce.
Instance Method Summary collapse
Instance Attribute Details
#challenge ⇒ Object
Returns the value of attribute challenge
9 10 11 |
# File 'lib/ssh_tresor/format.rb', line 9 def challenge @challenge end |
#encrypted_key ⇒ Object
Returns the value of attribute encrypted_key
9 10 11 |
# File 'lib/ssh_tresor/format.rb', line 9 def encrypted_key @encrypted_key end |
#fingerprint ⇒ Object
Returns the value of attribute fingerprint
9 10 11 |
# File 'lib/ssh_tresor/format.rb', line 9 def fingerprint @fingerprint end |
#nonce ⇒ Object
Returns the value of attribute nonce
9 10 11 |
# File 'lib/ssh_tresor/format.rb', line 9 def nonce @nonce end |
Instance Method Details
#to_bytes ⇒ Object
10 11 12 |
# File 'lib/ssh_tresor/format.rb', line 10 def to_bytes fingerprint + challenge + nonce + encrypted_key end |