|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.authagent.authapi.ciphers.AesCipher
public class AesCipher
| Constructor Summary | |
|---|---|
AesCipher()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears all sensitive data in the object. |
byte[] |
decrypt(byte[] data)
Performs decryption on the data with the initialized key. |
byte[] |
decrypt(byte[] data,
int offset,
int length)
Performs decryption on the data with the initialized key. |
byte[] |
decrypt(byte[] data,
int offset,
int length,
byte[] tmp_tag_data)
|
byte[] |
decrypt(byte[] data,
int offset,
int length,
com.rsa.authagent.authapi.ciphers.TagDataHolder tagData)
|
byte[] |
encrypt(byte[] data)
Performs encryption on the data with the initialized key. |
byte[] |
encrypt(byte[] data,
int offset,
int length)
Performs encryption on the data with the initialized key. |
byte[] |
encrypt(byte[] data,
int offset,
int length,
com.rsa.authagent.authapi.ciphers.TagDataHolder tagData)
|
byte[] |
getTagData()
|
void |
setKey(byte[] key)
Initializes the cipher with the specified key. |
void |
setKey(byte[] key,
int offset,
int length)
Initializes the cipher with the specified key. |
void |
setKey(com.rsa.jsafe.JSAFE_SecretKey key)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AesCipher()
| Method Detail |
|---|
public void setKey(byte[] key)
SimpleCipher
setKey in interface SimpleCipherkey - the key for subsequent cryptographic operations.SimpleCipher.setKey(byte[])public void setKey(com.rsa.jsafe.JSAFE_SecretKey key)
public void setKey(byte[] key,
int offset,
int length)
SimpleCipher
setKey in interface SimpleCipherkey - the key for subsequent cryptographic operations.offset - index to the first byte of the key.length - length of the key.SimpleCipher.setKey(byte[], int,
int)public byte[] encrypt(byte[] data)
SimpleCipher
encrypt in interface SimpleCipherdata - the data to encrypt.
SimpleCipher.encrypt(byte[])public byte[] getTagData()
public byte[] encrypt(byte[] data,
int offset,
int length)
SimpleCipher
encrypt in interface SimpleCipherdata - the data to encrypt.offset - index to the first byte of data to encrypt.length - length of the data to encrypt.
SimpleCipher.encrypt(byte[], int,
int)
public byte[] encrypt(byte[] data,
int offset,
int length,
com.rsa.authagent.authapi.ciphers.TagDataHolder tagData)
public byte[] decrypt(byte[] data)
SimpleCipher
decrypt in interface SimpleCipherdata - the data to decrypt.
SimpleCipher.decrypt(byte[])
public byte[] decrypt(byte[] data,
int offset,
int length)
SimpleCipher
decrypt in interface SimpleCipherdata - the data to decrypt.offset - index to the first byte of data to decrypt.length - length of the data to decrypt.
public byte[] decrypt(byte[] data,
int offset,
int length,
byte[] tmp_tag_data)
public byte[] decrypt(byte[] data,
int offset,
int length,
com.rsa.authagent.authapi.ciphers.TagDataHolder tagData)
public void clear()
SimpleCipher
clear in interface SimpleCipher
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||