org.eclipse.higgins.keystore.common
Class KeyStoreService

java.lang.Object
  extended byorg.eclipse.higgins.keystore.common.KeyStoreService
All Implemented Interfaces:
org.eclipse.higgins.keystore.IKeyStoreService, org.eclipse.higgins.registry.IServiceProvider
Direct Known Subclasses:
KeyStoreServiceImp

public abstract class KeyStoreService
extends Object
implements org.eclipse.higgins.keystore.IKeyStoreService


Constructor Summary
KeyStoreService()
           
 
Method Summary
 boolean extendendValidationCertificateChain(CallbackHandler handler, X509Certificate[] certChain, URI uri, CertStore certStore)
           
 X509Certificate findLeafFromCertificates(X509Certificate[] listCerts)
           
 X509Certificate[] getValidateCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri, CertStore certStore)
           
static CertStore joinCertStore(CertStore certStore1, CertStore certStore2)
           
 boolean validateCertificateChain(CallbackHandler handler, X509Certificate[] certChain, URI uri, CertStore certStore)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.keystore.IKeyStoreService
addToCertStore, addToCertStore, deleteFromCertStore, deleteFromCertStore, extendendValidationCertificateChain, getCertStore, getDefaultCertStore, getNormalizedCertificateChain, getValidateCertificateChain, validateCertificateChain
 
Methods inherited from interface org.eclipse.higgins.registry.IServiceProvider
getConfiguration, getID, setID
 

Constructor Detail

KeyStoreService

public KeyStoreService()
Method Detail

getValidateCertificateChain

public X509Certificate[] getValidateCertificateChain(CallbackHandler handler,
                                                     X509Certificate[] certPath,
                                                     URI uri,
                                                     CertStore certStore)
                                              throws CertificateException,
                                                     CertStoreException
Specified by:
getValidateCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService
Throws:
CertificateException
CertStoreException

extendendValidationCertificateChain

public boolean extendendValidationCertificateChain(CallbackHandler handler,
                                                   X509Certificate[] certChain,
                                                   URI uri,
                                                   CertStore certStore)
Specified by:
extendendValidationCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService

validateCertificateChain

public boolean validateCertificateChain(CallbackHandler handler,
                                        X509Certificate[] certChain,
                                        URI uri,
                                        CertStore certStore)
Specified by:
validateCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService

findLeafFromCertificates

public X509Certificate findLeafFromCertificates(X509Certificate[] listCerts)
Specified by:
findLeafFromCertificates in interface org.eclipse.higgins.keystore.IKeyStoreService

joinCertStore

public static CertStore joinCertStore(CertStore certStore1,
                                      CertStore certStore2)