xades4j.verification
Class CompleteCertRefsCertNotFoundException

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.CompleteCertRefsCertNotFoundException
All Implemented Interfaces:
Serializable

public class CompleteCertRefsCertNotFoundException
extends CompleteCertRefsVerificationException

Thrown during verification of the CompleteCertificateRefs property if a reference for a certificate in the certification path is not found in the property.

Author:
Luís
See Also:
Serialized Form

Constructor Summary
CompleteCertRefsCertNotFoundException(X509Certificate certificate)
           
 
Method Summary
 X509Certificate getCertificate()
           
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

CompleteCertRefsCertNotFoundException

public CompleteCertRefsCertNotFoundException(X509Certificate certificate)
Method Detail

getCertificate

public X509Certificate getCertificate()
Returns:
the certificate that caused the exception

getVerificationMessage

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


Copyright © 2012. All Rights Reserved.