public static class RSAEncrypter.RSAEncryptedData
extends java.lang.Object
Constructor and Description |
---|
RSAEncrypter.RSAEncryptedData(java.lang.String desKey,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
static RSAEncrypter.RSAEncryptedData |
deserialize(java.lang.String input)
Deserializes data serialized by
serialize() |
java.lang.String |
getData()
Returns the DES encrypted data
|
java.lang.String |
getDESKey()
Returns the RSA encrypted DES key
|
static boolean |
isEncryptedValue(java.lang.Object input)
Determines if the given data is encrypted data by RSAEncrypter, so it can be deserialzed
|
java.lang.String |
serialize()
Serializes the encrypted data into string form, including the given RSA encrypted DES key
|
void |
setData(java.lang.String data)
Sets the DES encrypted data
|
void |
setDESKey(java.lang.String desKey)
Sets the RSA encrypted DES key
|
public RSAEncrypter.RSAEncryptedData(java.lang.String desKey, java.lang.String data)
public java.lang.String getData()
public void setData(java.lang.String data)
public void setDESKey(java.lang.String desKey)
desKey
- public java.lang.String getDESKey()
public java.lang.String serialize()
public static RSAEncrypter.RSAEncryptedData deserialize(java.lang.String input)
serialize()
input
- public static boolean isEncryptedValue(java.lang.Object input)
input
-