@Generated(value="de.adorsys.datasafe.runtimedelegate.RuntimeDelegateGenerator", comments="This class performs functionality delegation based on contextClass content. If contextClass contains overriding class - it will be used.") public class DFSPrivateKeyServiceImplRuntimeDelegatable extends DFSPrivateKeyServiceImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
DFSPrivateKeyServiceImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
DFSPrivateKeyServiceImplRuntimeDelegatable(OverridesRegistry context,
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.
|
static void |
overrideWith(OverridesRegistry context,
Function<DFSPrivateKeyServiceImplRuntimeDelegatable.ArgumentsCaptor,DFSPrivateKeyServiceImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
SecretKeyIDWithKey |
pathEncryptionSecretKey(UserIDAuth forUser)
Reads path encryption secret key from DFS and caches the result.
|
@Inject public DFSPrivateKeyServiceImplRuntimeDelegatable(@Nullable OverridesRegistry context, DocumentKeyStoreOperations keyStoreOper)
context - Context class to search for overrides.public SecretKeyIDWithKey pathEncryptionSecretKey(UserIDAuth forUser)
DFSPrivateKeyServiceImplpathEncryptionSecretKey in interface PrivateKeyServicepathEncryptionSecretKey in class DFSPrivateKeyServiceImplpublic SecretKeyIDWithKey documentEncryptionSecretKey(UserIDAuth forUser)
DFSPrivateKeyServiceImpldocumentEncryptionSecretKey in interface PrivateKeyServicedocumentEncryptionSecretKey in class DFSPrivateKeyServiceImplpublic Map<String,Key> keysByIds(UserIDAuth forUser, Set<String> keyIds)
DFSPrivateKeyServiceImplkeysByIds in interface PrivateKeyServicekeysByIds in class DFSPrivateKeyServiceImplpublic static void overrideWith(OverridesRegistry context, Function<DFSPrivateKeyServiceImplRuntimeDelegatable.ArgumentsCaptor,DFSPrivateKeyServiceImpl> ctorCaptor)
Copyright © 2019. All rights reserved.