public class PathEncryptionImpl extends Object implements PathEncryption
PrivateKeyService.pathEncryptionSecretKey(UserIDAuth) as
path encryption key.| Constructor and Description |
|---|
PathEncryptionImpl(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 |
@Inject public PathEncryptionImpl(SymmetricPathEncryptionService symmetricPathEncryptionService, PrivateKeyService privateKeyService)
public Uri encrypt(UserIDAuth forUser, Uri path)
SymmetricPathEncryptionService and PrivateKeyService to encrypt URIencrypt in interface PathEncryptionpublic Function<Uri,Uri> decryptor(UserIDAuth forUser)
SymmetricPathEncryptionService and PrivateKeyService to decrypt URIdecryptor in interface PathEncryptionCopyright © 2020. All rights reserved.