org.eclipse.higgins.keystore.common.impl
Class KeyStoreServiceImp
java.lang.Object
org.eclipse.higgins.keystore.common.KeyStoreService
org.eclipse.higgins.keystore.common.impl.KeyStoreServiceImp
- All Implemented Interfaces:
- org.eclipse.higgins.keystore.IKeyStoreService, org.eclipse.higgins.registry.IServiceProvider
- public final class KeyStoreServiceImp
- extends KeyStoreService
|
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[] certChain,
URI uri)
|
boolean |
extendendValidationCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri,
CertStore certStore)
|
CertStore |
getCertStore(CallbackHandler handler)
|
org.eclipse.higgins.registry.IConfiguration |
getConfiguration()
|
CertStore |
getDefaultCertStore(CallbackHandler handler)
|
String |
getID()
|
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)
|
void |
setID(String id)
|
boolean |
validateCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri)
|
boolean |
validateCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri,
CertStore certStore)
|
KeyStoreServiceImp
public KeyStoreServiceImp()
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
getCertStore
public CertStore getCertStore(CallbackHandler handler)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
getDefaultCertStore
public CertStore getDefaultCertStore(CallbackHandler handler)
getConfiguration
public org.eclipse.higgins.registry.IConfiguration getConfiguration()
getID
public String getID()
setID
public void setID(String id)
throws Exception
- Throws:
Exception
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
- Specified by:
getValidateCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService- Overrides:
getValidateCertificateChain in class KeyStoreService
- Throws:
CertificateException
CertStoreException
getNormalizedCertificateChain
public X509Certificate[] getNormalizedCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
CertStore certStore)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
extendendValidationCertificateChain
public boolean extendendValidationCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri)
extendendValidationCertificateChain
public boolean extendendValidationCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri,
CertStore certStore)
- Specified by:
extendendValidationCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService- Overrides:
extendendValidationCertificateChain in class KeyStoreService
validateCertificateChain
public boolean validateCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri)
validateCertificateChain
public boolean validateCertificateChain(CallbackHandler handler,
X509Certificate[] certChain,
URI uri,
CertStore certStore)
- Specified by:
validateCertificateChain in interface org.eclipse.higgins.keystore.IKeyStoreService- Overrides:
validateCertificateChain in class KeyStoreService