Class InvalidFormExtensionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
xades4j.XAdES4jException
xades4j.verification.InvalidFormExtensionException
All Implemented Interfaces:
Serializable

public class InvalidFormExtensionException extends XAdES4jException
Thrown during signature verification (with form extension) when the form transition is invalid. For instance, XAdES-BES -> XAdES-X is invalid.
Author:
Luís
See Also:
  • Constructor Details

    • InvalidFormExtensionException

      public InvalidFormExtensionException(XAdESForm actualForm, XAdESForm finalForm)
  • Method Details

    • getActualForm

      public XAdESForm getActualForm()
      Gets the form of the signature that was being extended.
      Returns:
      the form
    • getFinalForm

      public XAdESForm getFinalForm()
      Gets the desired signature form.
      Returns:
      the form
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable