xades4j.verification
Class CompleteCertRefsReferenceException

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.CompleteCertRefsVerificationException
                          extended by xades4j.verification.CompleteCertRefsReferenceException
All Implemented Interfaces:
Serializable

public class CompleteCertRefsReferenceException
extends CompleteCertRefsVerificationException

Thrown during verification of the CompleteCertificateRefs property if the digest on a reference doesn't match the actual digest of the corresponding certificate.

Author:
Luís
See Also:
Serialized Form

Constructor Summary
CompleteCertRefsReferenceException(X509Certificate certificate, CertRef certificateRef, String msg)
           
 
Method Summary
 X509Certificate getCertificate()
           
 CertRef getCertificateRef()
           
protected  String getVerificationMessage()
           
 
Methods inherited from class xades4j.verification.CompleteCertRefsVerificationException
getPropertyName
 
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

CompleteCertRefsReferenceException

public CompleteCertRefsReferenceException(X509Certificate certificate,
                                          CertRef certificateRef,
                                          String msg)
Method Detail

getCertificate

public X509Certificate getCertificate()

getCertificateRef

public CertRef getCertificateRef()

getVerificationMessage

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


Copyright © 2012. All Rights Reserved.