Package | Description |
---|---|
com.salesforce.androidsdk.analytics.security |
Modifier and Type | Method and Description |
---|---|
static Encryptor.CipherMode |
Encryptor.CipherMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Encryptor.CipherMode[] |
Encryptor.CipherMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Encryptor.decryptWithRSA(java.security.PrivateKey privateKey,
java.lang.String data,
Encryptor.CipherMode cipherMode)
Returns data decrypted with an RSA private key.
|
static byte[] |
Encryptor.decryptWithRSABytes(java.security.PrivateKey privateKey,
java.lang.String data,
Encryptor.CipherMode cipherMode)
Returns data decrypted with an RSA private key.
|
static byte[] |
Encryptor.encryptWithPublicKey(java.security.PublicKey publicKey,
java.lang.String data,
Encryptor.CipherMode cipherMode) |
static java.lang.String |
Encryptor.encryptWithRSA(java.security.PublicKey publicKey,
java.lang.String data,
Encryptor.CipherMode cipherMode)
Returns data encrypted with an RSA public key.
|
static byte[] |
Encryptor.encryptWithRSABytes(java.security.PublicKey publicKey,
java.lang.String data,
Encryptor.CipherMode cipherMode)
Returns data encrypted with an RSA public key.
|