Class: Ccrypto::KeyConfig
- Inherits:
-
Object
- Object
- Ccrypto::KeyConfig
- Includes:
- AlgoConfig
- Defined in:
- lib/ccrypto/configs/key_config.rb
Instance Attribute Summary collapse
-
#algo ⇒ Object
Returns the value of attribute algo.
-
#keysize ⇒ Object
Returns the value of attribute keysize.
Attributes included from AlgoConfig
Class Method Summary collapse
Instance Method Summary collapse
Methods included from AlgoConfig
Instance Attribute Details
#algo ⇒ Object
Returns the value of attribute algo.
7 8 9 |
# File 'lib/ccrypto/configs/key_config.rb', line 7 def algo @algo end |
#keysize ⇒ Object
Returns the value of attribute keysize.
7 8 9 |
# File 'lib/ccrypto/configs/key_config.rb', line 7 def keysize @keysize end |
Class Method Details
.supported_secret_key_config(&block) ⇒ Object
13 14 15 |
# File 'lib/ccrypto/configs/key_config.rb', line 13 def self.supported_secret_key_config(&block) Provider.instance.provider.supported_secret_key_config(&block) end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/ccrypto/configs/key_config.rb', line 9 def to_s "#{@algo}/#{@keysize}" end |