Class: PolyPseudo::Config
- Inherits:
-
Object
- Object
- PolyPseudo::Config
- Defined in:
- lib/poly_pseudo/config.rb
Instance Attribute Summary collapse
-
#ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
-
#group_name ⇒ Object
Returns the value of attribute group_name.
Instance Method Summary collapse
- #group ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 |
# File 'lib/poly_pseudo/config.rb', line 5 def initialize @group_name = 'brainpoolP320r1' @ffi_lib = 'ssl' end |
Instance Attribute Details
#ffi_lib ⇒ Object
Returns the value of attribute ffi_lib.
3 4 5 |
# File 'lib/poly_pseudo/config.rb', line 3 def ffi_lib @ffi_lib end |
#group_name ⇒ Object
Returns the value of attribute group_name.
3 4 5 |
# File 'lib/poly_pseudo/config.rb', line 3 def group_name @group_name end |
Instance Method Details
#group ⇒ Object
10 11 12 |
# File 'lib/poly_pseudo/config.rb', line 10 def group OpenSSL::PKey::EC::Group.new(group_name) end |