| com.microstrategy.webapi.IDSSXMLEncryptor |
This object exposes an API for encryption. This can be used by web applications to encrypt/decrypt sensitive data (e.g. passwords) which has to travel to the Web Browser.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract String |
Decrypt(String key, String encryptedData)
Decrypts a string using the given key.
| ||||||||||
| abstract String |
Encrypt(String key, String clearData)
Encrypts a string using the given key.
| ||||||||||
| abstract String |
Encrypt(String key, String clearData, String cipherVersion)
Encrypts a string using the given key, and cipher.
| ||||||||||
| abstract String |
GenerateRandomKey()
Returns a random key of length 16 for encryption.
| ||||||||||
| abstract String |
GetSignature(String data)
Returns the signature of the given data.
| ||||||||||
Decrypts a string using the given key.
| key | The key to use in decrypting the given string. |
|---|---|
| encryptedData | The data string to decrypt. |
Encrypts a string using the given key.
| key | The key to use in encrypting the given string. |
|---|---|
| clearData | The data string to encrypt. |
Encrypts a string using the given key, and cipher.
| key | The key to use in encrypting the given string. |
|---|---|
| clearData | The data string to encrypt. |
| cipherVersion | Version string from getVersion(). |
Returns a random key of length 16 for encryption.
Returns the signature of the given data.
| data | The data to obtain the signature for. |
|---|