|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.io.crypto.aes.AESDecryptor
@InterfaceAudience.Private @InterfaceStability.Evolving public class AESDecryptor
| Constructor Summary | |
|---|---|
AESDecryptor(Cipher cipher)
|
|
| Method Summary | |
|---|---|
InputStream |
createDecryptionStream(InputStream in)
Create a stream for decryption |
int |
getBlockSize()
Get the cipher's internal block size |
int |
getIvLength()
Get the expected length for the initialization vector |
protected void |
init()
|
void |
reset()
Reset state, reinitialize with the key and iv |
void |
setIv(byte[] iv)
Set the initialization vector |
void |
setKey(Key key)
Set the secret key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AESDecryptor(Cipher cipher)
| Method Detail |
|---|
public void setKey(Key key)
Decryptor
setKey in interface Decryptorpublic int getIvLength()
Decryptor
getIvLength in interface Decryptorpublic int getBlockSize()
Decryptor
getBlockSize in interface Decryptorpublic void setIv(byte[] iv)
Decryptor
setIv in interface Decryptorpublic InputStream createDecryptionStream(InputStream in)
Decryptor
createDecryptionStream in interface Decryptorpublic void reset()
Decryptor
reset in interface Decryptorprotected void init()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||