@InterfaceAudience.Public public interface Encryptor
Modifier and Type | Method and Description |
---|---|
OutputStream |
createEncryptionStream(OutputStream out)
Create a stream for encryption n
|
int |
getBlockSize()
Get the cipher's internal block size
|
byte[] |
getIv()
Get the initialization vector
|
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 n
|
void |
setKey(Key key)
Set the secret key n
|
int getIvLength()
int getBlockSize()
byte[] getIv()
void setIv(byte[] iv)
OutputStream createEncryptionStream(OutputStream out)
void reset()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.