class RestPki::MD5DigestAlgorithm

Public Class Methods

new() click to toggle source
Calls superclass method RestPki::DigestAlgorithm::new
# File lib/rest_pki/digest_algorithm.rb, line 96
def initialize
    @name = 'MD5'
    @oid = Oids.oids["MD5"]
    @byte_length = 16
    @api_model = 'md5'
    @xml_uri = 'http://www.w3.org/2001/04/xmldsig-more#md5'
    @crypto_digest = Digest::MD5.new
    super(name, oid, byte_length, api_model, xml_uri, crypto_digest)
end