org.eclipse.higgins.keystore
Interface IKeyStoreService

All Superinterfaces:
org.eclipse.higgins.registry.IServiceProvider

public interface IKeyStoreService
extends org.eclipse.higgins.registry.IServiceProvider


Method Summary
 CertStore addToCertStore(CallbackHandler handler, CertStore certStore)
           
 CertStore addToCertStore(CallbackHandler handler, X509Certificate[] certificates)
           
 CertStore deleteFromCertStore(CallbackHandler handler, CertStore certStore)
           
 CertStore deleteFromCertStore(CallbackHandler handler, X509Certificate[] certificates)
           
 boolean extendendValidationCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri)
           
 boolean extendendValidationCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri, CertStore certStore)
           
 X509Certificate findLeafFromCertificates(X509Certificate[] listCerts)
           
 CertStore getCertStore(CallbackHandler handler)
           
 CertStore getDefaultCertStore(CallbackHandler handler)
           
 X509Certificate[] getNormalizedCertificateChain(CallbackHandler handler, X509Certificate[] certPath, CertStore certStore)
           
 X509Certificate[] getValidateCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri)
           
 X509Certificate[] getValidateCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri, CertStore certStore)
           
 boolean validateCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri)
           
 boolean validateCertificateChain(CallbackHandler handler, X509Certificate[] certPath, URI uri, CertStore certStore)
           
 
Methods inherited from interface org.eclipse.higgins.registry.IServiceProvider
getConfiguration, getID, setID
 

Method Detail

validateCertificateChain

public boolean validateCertificateChain(CallbackHandler handler,
                                        X509Certificate[] certPath,
                                        URI uri)

validateCertificateChain

public boolean validateCertificateChain(CallbackHandler handler,
                                        X509Certificate[] certPath,
                                        URI uri,
                                        CertStore certStore)

getNormalizedCertificateChain

public X509Certificate[] getNormalizedCertificateChain(CallbackHandler handler,
                                                       X509Certificate[] certPath,
                                                       CertStore certStore)
                                                throws CertificateException,
                                                       CertStoreException
Throws:
CertificateException
CertStoreException

getValidateCertificateChain

public X509Certificate[] getValidateCertificateChain(CallbackHandler handler,
                                                     X509Certificate[] certPath,
                                                     URI uri)
                                              throws CertificateException,
                                                     CertStoreException
Throws:
CertificateException
CertStoreException

getValidateCertificateChain

public X509Certificate[] getValidateCertificateChain(CallbackHandler handler,
                                                     X509Certificate[] certPath,
                                                     URI uri,
                                                     CertStore certStore)
                                              throws CertificateException,
                                                     CertStoreException
Throws:
CertificateException
CertStoreException

extendendValidationCertificateChain

public boolean extendendValidationCertificateChain(CallbackHandler handler,
                                                   X509Certificate[] certPath,
                                                   URI uri,
                                                   CertStore certStore)

extendendValidationCertificateChain

public boolean extendendValidationCertificateChain(CallbackHandler handler,
                                                   X509Certificate[] certPath,
                                                   URI uri)

findLeafFromCertificates

public X509Certificate findLeafFromCertificates(X509Certificate[] listCerts)

getDefaultCertStore

public CertStore getDefaultCertStore(CallbackHandler handler)

getCertStore

public CertStore getCertStore(CallbackHandler handler)
                       throws CertificateException,
                              CertStoreException
Throws:
CertificateException
CertStoreException

addToCertStore

public CertStore addToCertStore(CallbackHandler handler,
                                CertStore certStore)
                         throws CertificateException,
                                CertStoreException
Throws:
CertificateException
CertStoreException

addToCertStore

public CertStore addToCertStore(CallbackHandler handler,
                                X509Certificate[] certificates)
                         throws CertificateException,
                                CertStoreException
Throws:
CertificateException
CertStoreException

deleteFromCertStore

public CertStore deleteFromCertStore(CallbackHandler handler,
                                     CertStore certStore)
                              throws CertificateException,
                                     CertStoreException
Throws:
CertificateException
CertStoreException

deleteFromCertStore

public CertStore deleteFromCertStore(CallbackHandler handler,
                                     X509Certificate[] certificates)
                              throws CertificateException,
                                     CertStoreException
Throws:
CertificateException
CertStoreException