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.String getProviderID()
String encrypt(String string)
string
- the clear textString decrypt(String string)
encrypt(String)
.string
- the string to decryptCopyright © 2015 Actian Corporation. All Rights Reserved.