public interface

IDSSXMLEncryptor

com.microstrategy.webapi.IDSSXMLEncryptor

Class Overview

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.

Summary

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.

Public Methods

public abstract String Decrypt (String key, String encryptedData)

Decrypts a string using the given key.

Parameters
key The key to use in decrypting the given string.
encryptedData The data string to decrypt.
Returns
  • The result of applying the decryption algorithm to the given string using the given key.

public abstract String Encrypt (String key, String clearData)

Encrypts a string using the given key.

Parameters
key The key to use in encrypting the given string.
clearData The data string to encrypt.
Returns
  • The result of applying the encryption algorithm to the given string using the given key.

public abstract String Encrypt (String key, String clearData, String cipherVersion)

Encrypts a string using the given key, and cipher.

Parameters
key The key to use in encrypting the given string.
clearData The data string to encrypt.
cipherVersion Version string from getVersion().
Returns
  • The result of applying the encryption algorithm to the given string using the given key and cipher.

public abstract String GenerateRandomKey ()

Returns a random key of length 16 for encryption.

Returns
  • The random key generated.

public abstract String GetSignature (String data)

Returns the signature of the given data.

Parameters
data The data to obtain the signature for.
Returns
  • The signature of the given string.