public interface EncryptionProvider
Password
's and PrivateKey
's
within when encoding to JSON.
Providers must be registered
by creating a file META-INF/services/com.pervasive.datarush.encryption.EncryptionProvider
that contains the name of implementation class.
Providers are identified by their providerID
. The providerID is always captured on
on serialization in order to be able to find the correct provider to decrypt upon deserialization.Modifier and Type | Method and Description |
---|---|
String |
decrypt(String string)
Decrypts a given string.
|
String |
encrypt(String string)
Encrypts the given string.
|
String |
getProviderID()
Returns a unique identifier for this provider
|
String getProviderID()
String encrypt(String string)
string
- the clear textString decrypt(String string)
encrypt(String)
.string
- the string to decryptCopyright © 2019 Actian Corporation. All rights reserved.