Class: SecureToken::KeyPair
- Inherits:
-
Struct
- Object
- Struct
- SecureToken::KeyPair
- Defined in:
- lib/secure_token.rb
Instance Attribute Summary collapse
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
-
#signing_key ⇒ Object
Returns the value of attribute signing_key.
Instance Method Summary collapse
-
#initialize(*args) ⇒ KeyPair
constructor
A new instance of KeyPair.
Constructor Details
#initialize(*args) ⇒ KeyPair
Returns a new instance of KeyPair.
13 14 15 16 |
# File 'lib/secure_token.rb', line 13 def initialize(*args) super freeze end |
Instance Attribute Details
#encryption_key ⇒ Object
Returns the value of attribute encryption_key
11 12 13 |
# File 'lib/secure_token.rb', line 11 def encryption_key @encryption_key end |
#signing_key ⇒ Object
Returns the value of attribute signing_key
11 12 13 |
# File 'lib/secure_token.rb', line 11 def signing_key @signing_key end |