Exception: Moxml::Signature::ReferenceDigestMismatch
- Inherits:
-
VerificationError
- Object
- StandardError
- Error
- Error
- VerificationError
- Moxml::Signature::ReferenceDigestMismatch
- Defined in:
- lib/moxml/signature/errors.rb
Instance Attribute Summary collapse
-
#computed ⇒ Object
readonly
Returns the value of attribute computed.
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
-
#reference_uri ⇒ Object
readonly
Returns the value of attribute reference_uri.
Attributes inherited from VerificationError
Instance Method Summary collapse
-
#initialize(reference_uri:, expected:, computed:, signature_id: nil) ⇒ ReferenceDigestMismatch
constructor
A new instance of ReferenceDigestMismatch.
Constructor Details
#initialize(reference_uri:, expected:, computed:, signature_id: nil) ⇒ ReferenceDigestMismatch
Returns a new instance of ReferenceDigestMismatch.
50 51 52 53 54 55 56 57 58 |
# File 'lib/moxml/signature/errors.rb', line 50 def initialize(reference_uri:, expected:, computed:, signature_id: nil) @reference_uri = reference_uri @expected = expected @computed = computed super( "Digest mismatch for reference #{reference_uri.inspect}", signature_id: signature_id, ) end |
Instance Attribute Details
#computed ⇒ Object (readonly)
Returns the value of attribute computed.
48 49 50 |
# File 'lib/moxml/signature/errors.rb', line 48 def computed @computed end |
#expected ⇒ Object (readonly)
Returns the value of attribute expected.
48 49 50 |
# File 'lib/moxml/signature/errors.rb', line 48 def expected @expected end |
#reference_uri ⇒ Object (readonly)
Returns the value of attribute reference_uri.
48 49 50 |
# File 'lib/moxml/signature/errors.rb', line 48 def reference_uri @reference_uri end |