Class: PkiExpress::PKAlgorithm
- Inherits:
-
Object
- Object
- PkiExpress::PKAlgorithm
- Defined in:
- lib/pki_express/pk_algorithms.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#oid ⇒ Object
Returns the value of attribute oid.
Instance Method Summary collapse
-
#initialize(name, oid) ⇒ PKAlgorithm
constructor
A new instance of PKAlgorithm.
- #rsa ⇒ Object
Constructor Details
#initialize(name, oid) ⇒ PKAlgorithm
Returns a new instance of PKAlgorithm.
133 134 135 136 |
# File 'lib/pki_express/pk_algorithms.rb', line 133 def initialize(name, oid) @name = name @oid = oid end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
131 132 133 |
# File 'lib/pki_express/pk_algorithms.rb', line 131 def name @name end |
#oid ⇒ Object
Returns the value of attribute oid.
131 132 133 |
# File 'lib/pki_express/pk_algorithms.rb', line 131 def oid @oid end |
Instance Method Details
#rsa ⇒ Object
138 139 140 |
# File 'lib/pki_express/pk_algorithms.rb', line 138 def rsa RSAPKAlgorithm.new end |