public class PathEncryptionImpl extends Object implements PathEncryption
PrivateKeyService.pathEncryptionSecretKey(UserIDAuth) as
path encryption key.| Constructor and Description |
|---|
PathEncryptionImpl(SymmetricPathEncryptionService bucketPathEncryptionService,
PrivateKeyService privateKeyService) |
| Modifier and Type | Method and Description |
|---|---|
Uri |
decrypt(UserIDAuth forUser,
Uri path)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to decrypt URI |
Uri |
encrypt(UserIDAuth forUser,
Uri path)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to encrypt URI |
@Inject public PathEncryptionImpl(SymmetricPathEncryptionService bucketPathEncryptionService, PrivateKeyService privateKeyService)
public Uri encrypt(UserIDAuth forUser, Uri path)
SymmetricPathEncryptionService and PrivateKeyService to encrypt URIencrypt in interface PathEncryptionpublic Uri decrypt(UserIDAuth forUser, Uri path)
SymmetricPathEncryptionService and PrivateKeyService to decrypt URIdecrypt in interface PathEncryptionCopyright © 2019. All rights reserved.