class RestPki::SHA384DigestAlgorithm

Public Class Methods

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