xades4j.verification
Class SignaturePolicyCannotDigestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by xades4j.XAdES4jException
              extended by xades4j.verification.InvalidSignatureException
                  extended by xades4j.verification.InvalidPropertyException
                      extended by xades4j.verification.SignaturePolicyVerificationException
                          extended by xades4j.verification.SignaturePolicyCannotDigestException
All Implemented Interfaces:
Serializable

public class SignaturePolicyCannotDigestException
extends SignaturePolicyVerificationException

Thrown during verification of the SignaturePolicyIdentifier property if the digest of the policy document cannot be calculated (the algorithm is not available).

Author:
Luís
See Also:
Serialized Form

Constructor Summary
SignaturePolicyCannotDigestException(ObjectIdentifier sigPolicyId, String message)
           
 
Method Summary
protected  String getVerificationMessage()
           
 
Methods inherited from class xades4j.verification.SignaturePolicyVerificationException
getPropertyName, getSignaturePolicyId
 
Methods inherited from class xades4j.verification.InvalidPropertyException
getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignaturePolicyCannotDigestException

public SignaturePolicyCannotDigestException(ObjectIdentifier sigPolicyId,
                                            String message)
Method Detail

getVerificationMessage

protected String getVerificationMessage()
Specified by:
getVerificationMessage in class InvalidPropertyException


Copyright © 2012. All Rights Reserved.