public class SwitchablePathEncryptionImpl extends PathEncryptionImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_BUCKETPATH_ENCRYPTION |
| Constructor and Description |
|---|
SwitchablePathEncryptionImpl(SymmetricPathEncryptionService bucketPathEncryptionService,
PrivateKeyService privateKeyService) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkIsPathEncryptionToUse() |
Uri |
decrypt(UserIDAuth forUser,
Uri path) |
Uri |
encrypt(UserIDAuth forUser,
Uri path) |
public static final String NO_BUCKETPATH_ENCRYPTION
@Inject public SwitchablePathEncryptionImpl(SymmetricPathEncryptionService bucketPathEncryptionService, PrivateKeyService privateKeyService)
public static boolean checkIsPathEncryptionToUse()
public Uri encrypt(UserIDAuth forUser, Uri path)
encrypt in interface PathEncryptionencrypt in class PathEncryptionImplpublic Uri decrypt(UserIDAuth forUser, Uri path)
decrypt in interface PathEncryptiondecrypt in class PathEncryptionImplCopyright © 2019. All rights reserved.