|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.crypto.AesDecryption
public class AesDecryption
This class is a wrapper for doing AES decryption stuff.
Field Summary | |
---|---|
private org.bouncycastle.crypto.engines.AESFastEngine |
m_decryptionInstance
Stores the used AES decryption algorithm. |
Constructor Summary | |
---|---|
AesDecryption(byte[] a_aesKey)
Creates a new instance of AesDecryption. |
Method Summary | |
---|---|
byte[] |
decrypt(byte[] a_cipherData)
Decrypts one single cipher data block and returns the plain data block. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.bouncycastle.crypto.engines.AESFastEngine m_decryptionInstance
Constructor Detail |
---|
public AesDecryption(byte[] a_aesKey) throws java.lang.Exception
a_aesKey
- The 128 bit or 192 bit or 256 bit AES key.
java.lang.Exception
Method Detail |
---|
public byte[] decrypt(byte[] a_cipherData) throws java.lang.Exception
a_cipherData
- The cipher data block.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |