public class SecurityHandler.CipherInfo
extends java.lang.Object
CipherInfo
represents the cipher information.Modifier and Type | Field and Description |
---|---|
int |
cipher
Cipher identifier.
|
byte[] |
key
Encryption key.
|
Constructor and Description |
---|
SecurityHandler.CipherInfo() |
public int cipher
It should be one of the followings:
public byte[] key
For EncryptionParams.CIPHER_RC4
, the length of encryption key should be in the range from 5 to 16, including 5 and 16.
For EncryptionParams.CIPHER_AES
, the length of encryption key should be 16 or 32.