class RestPki::SHA1DigestAlgorithm
Public Class Methods
new()
click to toggle source
Calls superclass method
RestPki::DigestAlgorithm::new
# File lib/rest_pki/digest_algorithm.rb, line 109 def initialize @name = 'SHA1' @oid = Oids.oids["SHA1"] @byte_length = 20 @api_model = 'sha1' @xml_uri = 'http://www.w3.org/2000/09/xmldsig#sha1' @crypto_digest = Digest::SHA1.new super(name, oid, byte_length, api_model, xml_uri, crypto_digest) end