Package xades4j.verification
Class ReferenceValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
xades4j.XAdES4jException
xades4j.verification.InvalidSignatureException
xades4j.verification.CoreVerificationException
xades4j.verification.ReferenceValueException
- All Implemented Interfaces:
Serializable
Thrown during signature verification when the core verification fails due to
reference validation.
- Author:
- Luís
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceValueException
(org.apache.xml.security.signature.XMLSignature sig, org.apache.xml.security.signature.Reference reference) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xml.security.signature.Reference
Gets the reference that caused the validation error.Methods inherited from class xades4j.verification.CoreVerificationException
getSignature
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReferenceValueException
public ReferenceValueException(org.apache.xml.security.signature.XMLSignature sig, org.apache.xml.security.signature.Reference reference)
-
-
Method Details
-
getReference
public org.apache.xml.security.signature.Reference getReference()Gets the reference that caused the validation error. If multiple references are invalid, this is the first of them, in order of appearence.- Returns:
- the reference.
-
getMessage
- Overrides:
getMessage
in classThrowable
-