Class ReferenceValueException

All Implemented Interfaces:
Serializable

public class ReferenceValueException extends CoreVerificationException
Thrown during signature verification when the core verification fails due to reference validation.
Author:
Luís
See Also:
  • 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

      public String getMessage()
      Overrides:
      getMessage in class Throwable