java.lang.Object | |
↳ | com.microstrategy.webapi.EnumCipher |
This class identifies the encryption cipher used. Each cipher
is uniquely identified by its version string, getVersion()
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | VERSION_SIZE | Size of the version in hex encoded bytes. | |||||||||
int | VERSION_SIZE_BYTES |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final EnumCipher | AES | ||||||||||
public static final EnumCipher | TEA |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
static EnumCipher |
getBestSupported()
Exercise care when using this method to obtain best encryption cipher as older
clients will not be able to decrypt such strings.
| ||||||||||
static EnumCipher |
getCompatible(String serverName, int port)
Even though an Intelligence Server is able to support a given encryption, such as AES,
it may still opt to have data stored encrypted in an older format to enable backwards
compatibility with older clients.
| ||||||||||
static EnumCipher |
getEnumCipher(String versionPrefixedEncoded)
Identifies the
EnumCipher instance given a version string. | ||||||||||
static EnumCipher | getEnumCipher(byte[] preamble, int offset) | ||||||||||
String | getVersion() | ||||||||||
byte[] | getVersionBytes() | ||||||||||
int | hashCode() | ||||||||||
abstract boolean |
isSupported()
Checks whether this encryption scheme is supported by the Web application.
| ||||||||||
abstract boolean | isSupported(String serverName, int port) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Size of the version in hex encoded bytes.
Exercise care when using this method to obtain best encryption cipher as older clients will not be able to decrypt such strings.
Even though an Intelligence Server is able to support a given encryption, such as AES, it may still opt to have data stored encrypted in an older format to enable backwards compatibility with older clients.
serverName | Intelligence Server name |
---|---|
port | Intelligence Server port |
Identifies the EnumCipher
instance given a version string.
Returns TEA
by default if version string is indeterminate.
Checks whether this encryption scheme is supported by the Web application.
Also see isSupported(String, int)
to check support by Intelligence
Server.
serverName | Intelligence Server name |
---|---|
port | Intelligence Server port |