@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 PathEncryptionImplRuntimeDelegatable extends PathEncryptionImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
PathEncryptionImplRuntimeDelegatable(OverridesRegistry context,
SymmetricPathEncryptionService symmetricPathEncryptionService,
PrivateKeyService privateKeyService) |
| Modifier and Type | Method and Description |
|---|---|
Function<Uri,Uri> |
decryptor(UserIDAuth forUser)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to decrypt URI |
Uri |
encrypt(UserIDAuth forUser,
Uri path)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to encrypt URI |
static void |
overrideWith(OverridesRegistry context,
Function<PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor,PathEncryptionImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
@Inject public PathEncryptionImplRuntimeDelegatable(@Nullable OverridesRegistry context, SymmetricPathEncryptionService symmetricPathEncryptionService, PrivateKeyService privateKeyService)
context - Context class to search for overrides.public Uri encrypt(UserIDAuth forUser, Uri path)
PathEncryptionImplSymmetricPathEncryptionService and PrivateKeyService to encrypt URIencrypt in interface PathEncryptionencrypt in class PathEncryptionImplpublic Function<Uri,Uri> decryptor(UserIDAuth forUser)
PathEncryptionImplSymmetricPathEncryptionService and PrivateKeyService to decrypt URIdecryptor in interface PathEncryptiondecryptor in class PathEncryptionImplpublic static void overrideWith(OverridesRegistry context, Function<PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor,PathEncryptionImpl> ctorCaptor)
Copyright © 2019. All rights reserved.