xades4j.verification
Class SigningCertificateReferenceException

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

public class SigningCertificateReferenceException
extends SigningCertificateVerificationException

Thrown during verification of the SigningCertificate property if the validation of one of the certificate references fails.

Author:
Luís
See Also:
Serialized Form

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

SigningCertificateReferenceException

public SigningCertificateReferenceException(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.