Class: PkiExpress::RSAPKAlgorithm
- Inherits:
-
PKAlgorithm
- Object
- PKAlgorithm
- PkiExpress::RSAPKAlgorithm
- Defined in:
- lib/pki_express/pk_algorithms.rb
Instance Attribute Summary
Attributes inherited from PKAlgorithm
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ RSAPKAlgorithm
constructor
A new instance of RSAPKAlgorithm.
Methods inherited from PKAlgorithm
Constructor Details
#initialize ⇒ RSAPKAlgorithm
Returns a new instance of RSAPKAlgorithm.
149 150 151 |
# File 'lib/pki_express/pk_algorithms.rb', line 149 def initialize super(PKAlgorithms::RSA, Oids::RSA) end |
Class Method Details
.get_signature_algorithm(digest_algorithm) ⇒ Object
153 154 155 |
# File 'lib/pki_express/pk_algorithms.rb', line 153 def get_signature_algorithm(digest_algorithm) RSASignatureAlgorithm.new(digest_algorithm) end |