Class: Ccrypto::KeyConfig

Inherits:
Object
  • Object
show all
Includes:
AlgoConfig
Defined in:
lib/ccrypto/configs/key_config.rb

Instance Attribute Summary collapse

Attributes included from AlgoConfig

#provider_config

Instance Method Summary collapse

Methods included from AlgoConfig

include, #provider_info

Instance Attribute Details

#algoObject

Returns the value of attribute algo.



7
8
9
# File 'lib/ccrypto/configs/key_config.rb', line 7

def algo
  @algo
end

#keysizeObject

Returns the value of attribute keysize.



7
8
9
# File 'lib/ccrypto/configs/key_config.rb', line 7

def keysize
  @keysize
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/ccrypto/configs/key_config.rb', line 9

def to_s
  "#{@algo}/#{@keysize}"
end