public class

InvalidFormExtensionException

extends XAdES4jException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ xades4j.XAdES4jException
         ↳ xades4j.verification.InvalidFormExtensionException

Class Overview

Thrown during signature verification (with form extension) when the form transition is invalid. For instance, XAdES-BES -> XAdES-X is invalid.

See Also

Summary

Public Constructors
InvalidFormExtensionException(XAdESForm actualForm, XAdESForm finalForm)
Public Methods
XAdESForm getActualForm()
Gets the form of the signature that was being extended.
XAdESForm getFinalForm()
Gets the desired signature form.
String getMessage()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidFormExtensionException (XAdESForm actualForm, XAdESForm finalForm)

Public Methods

public XAdESForm getActualForm ()

Gets the form of the signature that was being extended.

Returns
  • the form

public XAdESForm getFinalForm ()

Gets the desired signature form.

Returns
  • the form

public String getMessage ()