|
||||||||||
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 Decryptor
public int getIvLength()
Decryptor
getIvLength
in interface Decryptor
public int getBlockSize()
Decryptor
getBlockSize
in interface Decryptor
public void setIv(byte[] iv)
Decryptor
setIv
in interface Decryptor
public InputStream createDecryptionStream(InputStream in)
Decryptor
createDecryptionStream
in interface Decryptor
public void reset()
Decryptor
reset
in interface Decryptor
protected void init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |