public class DFSPrivateKeyServiceImpl extends Object implements PrivateKeyService
| Constructor and Description |
|---|
DFSPrivateKeyServiceImpl(DocumentKeyStoreOperations keyStoreOper) |
| Modifier and Type | Method and Description |
|---|---|
SecretKeyIDWithKey |
documentEncryptionSecretKey(UserIDAuth forUser)
Reads document encryption secret key from DFS and caches the result.
|
Map<String,Key> |
keysByIds(UserIDAuth forUser,
Set<String> keyIds)
Reads private or secret key from DFS and caches the keystore associated with it.
|
SecretKeyIDWithKey |
pathEncryptionSecretKey(UserIDAuth forUser)
Reads path encryption secret key from DFS and caches the result.
|
@Inject public DFSPrivateKeyServiceImpl(DocumentKeyStoreOperations keyStoreOper)
public SecretKeyIDWithKey pathEncryptionSecretKey(UserIDAuth forUser)
pathEncryptionSecretKey in interface PrivateKeyServicepublic SecretKeyIDWithKey documentEncryptionSecretKey(UserIDAuth forUser)
documentEncryptionSecretKey in interface PrivateKeyServicepublic Map<String,Key> keysByIds(UserIDAuth forUser, Set<String> keyIds)
keysByIds in interface PrivateKeyServiceCopyright © 2019. All rights reserved.