Package xades4j.verification
Class DataObjectFormatMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
xades4j.XAdES4jException
xades4j.verification.InvalidSignatureException
xades4j.verification.InvalidPropertyException
xades4j.verification.DataObjectFormatVerificationException
xades4j.verification.DataObjectFormatMismatchException
- All Implemented Interfaces:
Serializable
Thrown during validation of the
DataObjectFormat
property if the corresponding
Reference
references an Object
and mime-type and/or encoding
in the property an in the Object
are not equal.- Author:
- Luís
- See Also:
-
Constructor Summary
ConstructorDescriptionDataObjectFormatMismatchException
(String mimeType, String encoding, org.apache.xml.security.signature.Reference ref, org.apache.xml.security.signature.ObjectContainer obj) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xml.security.signature.ObjectContainer
org.apache.xml.security.signature.Reference
protected String
Methods inherited from class xades4j.verification.DataObjectFormatVerificationException
getPropertyName
Methods inherited from class xades4j.verification.InvalidPropertyException
getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataObjectFormatMismatchException
-
-
Method Details
-
getMimeType
-
getEncoding
-
getObject
public org.apache.xml.security.signature.ObjectContainer getObject() -
getReference
public org.apache.xml.security.signature.Reference getReference() -
getVerificationMessage
- Specified by:
getVerificationMessage
in classInvalidPropertyException
-