public class SwitchablePathEncryptionImpl extends LegacyPathEncryptionImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_BUCKETPATH_ENCRYPTION |
| Constructor and Description |
|---|
SwitchablePathEncryptionImpl(LegacySymmetricPathEncryptionService legacySymmetricPathEncryptionService,
de.adorsys.datasafe.directory.api.profile.keys.PrivateKeyService privateKeyService) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIsPathEncryptionToUse() |
Function<de.adorsys.datasafe.types.api.resource.Uri,de.adorsys.datasafe.types.api.resource.Uri> |
decryptor(de.adorsys.datasafe.encrypiton.api.types.UserIDAuth forUser)
Simply pipes
LegacySymmetricPathEncryptionService and PrivateKeyService to decrypt URI |
de.adorsys.datasafe.types.api.resource.Uri |
encrypt(de.adorsys.datasafe.encrypiton.api.types.UserIDAuth forUser,
de.adorsys.datasafe.types.api.resource.Uri path)
Simply pipes
LegacySymmetricPathEncryptionService and PrivateKeyService to encrypt URI |
public static final String NO_BUCKETPATH_ENCRYPTION
@Inject public SwitchablePathEncryptionImpl(LegacySymmetricPathEncryptionService legacySymmetricPathEncryptionService, de.adorsys.datasafe.directory.api.profile.keys.PrivateKeyService privateKeyService)
public de.adorsys.datasafe.types.api.resource.Uri encrypt(de.adorsys.datasafe.encrypiton.api.types.UserIDAuth forUser,
de.adorsys.datasafe.types.api.resource.Uri path)
LegacyPathEncryptionImplLegacySymmetricPathEncryptionService and PrivateKeyService to encrypt URIencrypt in interface de.adorsys.datasafe.encrypiton.api.pathencryption.PathEncryptionencrypt in class LegacyPathEncryptionImplpublic Function<de.adorsys.datasafe.types.api.resource.Uri,de.adorsys.datasafe.types.api.resource.Uri> decryptor(de.adorsys.datasafe.encrypiton.api.types.UserIDAuth forUser)
LegacyPathEncryptionImplLegacySymmetricPathEncryptionService and PrivateKeyService to decrypt URIdecryptor in interface de.adorsys.datasafe.encrypiton.api.pathencryption.PathEncryptiondecryptor in class LegacyPathEncryptionImplpublic static boolean checkIsPathEncryptionToUse()
Copyright © 2019. All rights reserved.