|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Unstable public interface Decryptor
Decryptors apply a cipher to an InputStream to recover plaintext.
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 |
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 |
Method Detail |
---|
void setKey(Key key)
key
- int getIvLength()
int getBlockSize()
void setIv(byte[] iv)
iv
- InputStream createDecryptionStream(InputStream in)
in
- void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |