HankoXml

Exception: HankoXml::DigestMismatch

Inherits:
VerificationError show all
Defined in:
lib/hanko_xml/errors.rb

Overview

One 's digest did not match.

Constant Summary

Constants inherited from Error

Error::FILTERED, Error::PRIVATE_KEY_PEM

Instance Attribute Summary collapse

Attributes inherited from Error

#signature_node, #xmlsec_errors

Instance Method Summary collapse

Methods inherited from Error

filter

Constructor Details

#initialize(message = nil, reference_uri: nil, **kwargs) ⇒ DigestMismatch

Returns a new instance of DigestMismatch.



109
110
111
112
# File 'lib/hanko_xml/errors.rb', line 109

def initialize(message = nil, reference_uri: nil, **kwargs)
  super(message, **kwargs)
  @reference_uri = reference_uri
end

Instance Attribute Details

#reference_uri ⇒ Object

Returns the value of attribute reference_uri.



107
108
109
# File 'lib/hanko_xml/errors.rb', line 107

def reference_uri
  @reference_uri
end