com.iplanet.trustbase.security.store
Class UnmatchedSubjectCertException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iplanet.trustbase.security.store.TokenKeyStoreException
                    |
                    +--com.iplanet.trustbase.security.store.UnmatchedSubjectCertException
All Implemented Interfaces:
java.io.Serializable

public class UnmatchedSubjectCertException
extends TokenKeyStoreException

UnmatchedSubjectCertException is thrown when an attempt is made to update the certchain associated with a KeyEntry, and the the subject cert of the chain does not match the PrivateKey

See Also:
Serialized Form

Constructor Summary
UnmatchedSubjectCertException(java.security.cert.X509Certificate newCert, java.security.cert.X509Certificate oldCert)
           
 
Method Summary
 java.security.cert.X509Certificate getExistingCertificate()
           
 java.security.cert.X509Certificate getUnmatchedCertificate()
           
 
Methods inherited from class com.iplanet.trustbase.security.store.TokenKeyStoreException
printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmatchedSubjectCertException

public UnmatchedSubjectCertException(java.security.cert.X509Certificate newCert,
                                     java.security.cert.X509Certificate oldCert)
Method Detail

getUnmatchedCertificate

public java.security.cert.X509Certificate getUnmatchedCertificate()

getExistingCertificate

public java.security.cert.X509Certificate getExistingCertificate()