class RestPki::RSAPKAlgorithm

Public Class Methods

get_signature_algorithm(digest_algorithm) click to toggle source
# File lib/rest_pki/pk_algorithms.rb, line 169
def self.get_signature_algorithm(digest_algorithm)
    RSASignatureAlgorithm.new(digest_algorithm)
end
new() click to toggle source
Calls superclass method RestPki::PKAlgorithm::new
# File lib/rest_pki/pk_algorithms.rb, line 163
def initialize
    name = 'RSA'
    oid = Oids.oids["RSA"]
    super(name, oid)
end