@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 IntegrityPreservingUriEncryptionRuntimeDelegatable extends IntegrityPreservingUriEncryption
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegrityPreservingUriEncryptionRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
IntegrityPreservingUriEncryptionRuntimeDelegatable(OverridesRegistry context,
PathEncryptorDecryptor pathEncryptorDecryptor) |
| Modifier and Type | Method and Description |
|---|---|
Uri |
decrypt(AuthPathEncryptionSecretKey pathEncryptionSecretKey,
Uri bucketPath)
Decrypts each URI segment separately and composes them back in same order.
|
protected String |
decryptorAndDecoder(PathSegmentWithSecretKeyWith keyAndSegment,
PathEncryptorDecryptor pathEncryptorDecryptor) |
Uri |
encrypt(AuthPathEncryptionSecretKey pathEncryptionSecretKey,
Uri bucketPath)
Encrypts each URI segment separately and composes them back in same order.
|
protected String |
encryptorAndEncoder(PathSegmentWithSecretKeyWith keyAndSegment,
PathEncryptorDecryptor pathEncryptorDecryptor) |
protected MessageDigest |
getDigest()
Parent path authentication digest.
|
static void |
overrideWith(OverridesRegistry context,
Function<IntegrityPreservingUriEncryptionRuntimeDelegatable.ArgumentsCaptor,IntegrityPreservingUriEncryption> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
@Inject public IntegrityPreservingUriEncryptionRuntimeDelegatable(@Nullable OverridesRegistry context, PathEncryptorDecryptor pathEncryptorDecryptor)
context - Context class to search for overrides.public Uri encrypt(AuthPathEncryptionSecretKey pathEncryptionSecretKey, Uri bucketPath)
IntegrityPreservingUriEncryptionencrypt in interface SymmetricPathEncryptionServiceencrypt in class IntegrityPreservingUriEncryptionpublic Uri decrypt(AuthPathEncryptionSecretKey pathEncryptionSecretKey, Uri bucketPath)
IntegrityPreservingUriEncryptiondecrypt in interface SymmetricPathEncryptionServicedecrypt in class IntegrityPreservingUriEncryptionprotected MessageDigest getDigest()
IntegrityPreservingUriEncryptiongetDigest in class IntegrityPreservingUriEncryptionprotected String decryptorAndDecoder(PathSegmentWithSecretKeyWith keyAndSegment, PathEncryptorDecryptor pathEncryptorDecryptor)
decryptorAndDecoder in class IntegrityPreservingUriEncryptionprotected String encryptorAndEncoder(PathSegmentWithSecretKeyWith keyAndSegment, PathEncryptorDecryptor pathEncryptorDecryptor)
encryptorAndEncoder in class IntegrityPreservingUriEncryptionpublic static void overrideWith(OverridesRegistry context, Function<IntegrityPreservingUriEncryptionRuntimeDelegatable.ArgumentsCaptor,IntegrityPreservingUriEncryption> ctorCaptor)
Copyright © 2020. All rights reserved.