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
public class DataObjectFormatMismatchException
- extends DataObjectFormatVerificationException
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:
- Serialized Form
DataObjectFormatMismatchException
public DataObjectFormatMismatchException(String mimeType,
String encoding,
org.apache.xml.security.signature.Reference ref,
org.apache.xml.security.signature.ObjectContainer obj)
getMimeType
public String getMimeType()
getEncoding
public String getEncoding()
getObject
public org.apache.xml.security.signature.ObjectContainer getObject()
getReference
public org.apache.xml.security.signature.Reference getReference()
getVerificationMessage
protected String getVerificationMessage()
- Specified by:
getVerificationMessage in class InvalidPropertyException
Copyright © 2012. All Rights Reserved.