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)
|
X509Certificate[] |
getCertChainFromStore(String id)
Retrieve X509CertificateEntity with signedBy certificate chain from store . |
CertStore |
getCertStore(CallbackHandler handler)
|
CertStore |
getDefaultTrustCertStore(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)
|
void |
putCertChain(X509Certificate[] certificatePath)
Store certificate chain. |
void |
updateCertChain(X509Certificate[] certificateEntity)
Store certificate chain. |
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 |
validateCertificateChain
boolean validateCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri)
validateCertificateChain
boolean validateCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri,
CertStore certStore)
getNormalizedCertificateChain
X509Certificate[] getNormalizedCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
CertStore certStore)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
getValidateCertificateChain
X509Certificate[] getValidateCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
getValidateCertificateChain
X509Certificate[] getValidateCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri,
CertStore certStore)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
extendendValidationCertificateChain
boolean extendendValidationCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri,
CertStore certStore)
extendendValidationCertificateChain
boolean extendendValidationCertificateChain(CallbackHandler handler,
X509Certificate[] certPath,
URI uri)
findLeafFromCertificates
X509Certificate findLeafFromCertificates(X509Certificate[] listCerts)
getDefaultTrustCertStore
CertStore getDefaultTrustCertStore(CallbackHandler handler)
getCertStore
CertStore getCertStore(CallbackHandler handler)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
addToCertStore
CertStore addToCertStore(CallbackHandler handler,
CertStore certStore)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
addToCertStore
CertStore addToCertStore(CallbackHandler handler,
X509Certificate[] certificates)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
deleteFromCertStore
CertStore deleteFromCertStore(CallbackHandler handler,
CertStore certStore)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
deleteFromCertStore
CertStore deleteFromCertStore(CallbackHandler handler,
X509Certificate[] certificates)
throws CertificateException,
CertStoreException
- Throws:
CertificateException
CertStoreException
getCertChainFromStore
X509Certificate[] getCertChainFromStore(String id)
- Retrieve X509CertificateEntity with signedBy certificate chain from store .
- Parameters:
id - must be certificate finger print.
- Returns:
- X509CertificateEntity
putCertChain
void putCertChain(X509Certificate[] certificatePath)
throws CertStoreException
- Store certificate chain. if certificate exists certificate will not be updated.
- Parameters:
certificateEntity -
- Throws:
CertificateStoreException
CertStoreException
updateCertChain
void updateCertChain(X509Certificate[] certificateEntity)
throws CertStoreException
- Store certificate chain. if certificate exists certificate will be updated.
- Parameters:
certificateEntity -
- Throws:
CertificateStoreException
CertStoreException