class RestPki::SHA512DigestAlgorithm

Public Class Methods

new() click to toggle source
Calls superclass method RestPki::DigestAlgorithm::new
# File lib/rest_pki/digest_algorithm.rb, line 148
def initialize
    @name = 'SHA512'
    @oid = Oids.oids["SHA512"]
    @byte_length = 64
    @api_model = 'sha512'
    @xml_uri = 'http://www.w3.org/2001/04/xmlenc#sha512'
    @crypto_digest = Digest::SHA2.new(512)
    super(name, oid, byte_length, api_model, xml_uri, crypto_digest)
end