public class BlobStoreKeystorePersistence extends Object implements KeystorePersistence
| Constructor and Description |
|---|
BlobStoreKeystorePersistence(BlobStoreContextFactory blobStoreContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasKeystore(ObjectHandle handle)
Checks if a keystore available for the given handle.
|
KeyStore |
loadKeystore(ObjectHandle handle,
CallbackHandler handler) |
Tuple<KeyStore,Map<String,String>> |
loadKeystoreAndAttributes(ObjectHandle handle,
CallbackHandler handler) |
void |
saveKeyStore(KeyStore keystore,
CallbackHandler storePassHandler,
ObjectHandle handle) |
void |
saveKeyStoreWithAttributes(KeyStore keystore,
Map<String,String> attributes,
CallbackHandler storePassHandler,
ObjectHandle handle) |
public BlobStoreKeystorePersistence(BlobStoreContextFactory blobStoreContextFactory)
public void saveKeyStore(KeyStore keystore, CallbackHandler storePassHandler, ObjectHandle handle) throws NoSuchAlgorithmException, CertificateException, UnknownContainerException
saveKeyStore in interface KeystorePersistenceNoSuchAlgorithmExceptionCertificateExceptionUnknownContainerExceptionpublic void saveKeyStoreWithAttributes(KeyStore keystore, Map<String,String> attributes, CallbackHandler storePassHandler, ObjectHandle handle) throws NoSuchAlgorithmException, CertificateException, UnknownContainerException
saveKeyStoreWithAttributes in interface KeystorePersistenceNoSuchAlgorithmExceptionCertificateExceptionUnknownContainerExceptionpublic KeyStore loadKeystore(ObjectHandle handle, CallbackHandler handler) throws KeystoreNotFoundException, CertificateException, WrongKeystoreCredentialException, MissingKeystoreAlgorithmException, MissingKeystoreProviderException, MissingKeyAlgorithmException, IOException, UnknownContainerException
public Tuple<KeyStore,Map<String,String>> loadKeystoreAndAttributes(ObjectHandle handle, CallbackHandler handler) throws KeystoreNotFoundException, CertificateException, WrongKeystoreCredentialException, MissingKeystoreAlgorithmException, MissingKeystoreProviderException, MissingKeyAlgorithmException, IOException, UnknownContainerException
public boolean hasKeystore(ObjectHandle handle)
hasKeystore in interface KeystorePersistencehandle - handle to checkCopyright © 2018. All Rights Reserved.