public class DocumentKeyStoreOperationsImpl extends Object implements DocumentKeyStoreOperations
| Constructor and Description |
|---|
DocumentKeyStoreOperationsImpl(GenericKeystoreOperations genericOper,
DFSConfig dfsConfig,
BucketAccessService access,
ProfileRetrievalService profile,
StorageWriteService writeService,
KeyStoreCache keystoreCache,
KeyStoreService keyStoreService) |
| Modifier and Type | Method and Description |
|---|---|
List<PublicKeyIDWithPublicKey> |
createAndWriteKeyStore(UserIDAuth forUser) |
Key |
getKey(UserIDAuth forUser,
String alias)
Tries to re-read keystore from storage if supplied password can't open cached keystore.
|
Set<String> |
readAliases(UserIDAuth forUser)
Reads aliases from keystore associated with user.
|
void |
updateReadKeyPassword(UserIDAuth forUser,
ReadKeyPassword newPassword) |
@Inject public DocumentKeyStoreOperationsImpl(GenericKeystoreOperations genericOper, DFSConfig dfsConfig, BucketAccessService access, ProfileRetrievalService profile, StorageWriteService writeService, KeyStoreCache keystoreCache, KeyStoreService keyStoreService)
public Key getKey(UserIDAuth forUser, String alias)
getKey in interface DocumentKeyStoreOperationspublic Set<String> readAliases(UserIDAuth forUser)
readAliases in interface DocumentKeyStoreOperationspublic List<PublicKeyIDWithPublicKey> createAndWriteKeyStore(UserIDAuth forUser)
createAndWriteKeyStore in interface DocumentKeyStoreOperationspublic void updateReadKeyPassword(UserIDAuth forUser, ReadKeyPassword newPassword)
updateReadKeyPassword in interface DocumentKeyStoreOperationsCopyright © 2019. All rights reserved.