Class: Ccrypto::SecretKey
- Inherits:
-
Object
- Object
- Ccrypto::SecretKey
- Defined in:
- lib/ccrypto/secret_key.rb
Instance Attribute Summary collapse
-
#algo ⇒ Object
readonly
Returns the value of attribute algo.
-
#keysize ⇒ Object
readonly
Returns the value of attribute keysize.
-
#native_key ⇒ Object
readonly
Returns the value of attribute native_key.
-
#provider_config ⇒ Object
Returns the value of attribute provider_config.
Instance Method Summary collapse
-
#initialize(algo, keysize, key) ⇒ SecretKey
constructor
A new instance of SecretKey.
Constructor Details
#initialize(algo, keysize, key) ⇒ SecretKey
Returns a new instance of SecretKey.
11 12 13 14 15 |
# File 'lib/ccrypto/secret_key.rb', line 11 def initialize(algo, keysize, key) @algo = algo @keysize = keysize @native_key = key end |
Instance Attribute Details
#algo ⇒ Object (readonly)
Returns the value of attribute algo.
5 6 7 |
# File 'lib/ccrypto/secret_key.rb', line 5 def algo @algo end |
#keysize ⇒ Object (readonly)
Returns the value of attribute keysize.
5 6 7 |
# File 'lib/ccrypto/secret_key.rb', line 5 def keysize @keysize end |
#native_key ⇒ Object (readonly)
Returns the value of attribute native_key.
7 8 9 |
# File 'lib/ccrypto/secret_key.rb', line 7 def native_key @native_key end |
#provider_config ⇒ Object
Returns the value of attribute provider_config.
9 10 11 |
# File 'lib/ccrypto/secret_key.rb', line 9 def provider_config @provider_config end |