@InterfaceAudience.Public public interface Decryptor
Modifier and Type | Method and Description |
---|---|
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
|
int getIvLength()
int getBlockSize()
void setIv(byte[] iv)
iv
- InputStream createDecryptionStream(InputStream in)
in
- void reset()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.