abstract
byte[]
|
engineDoFinal(byte[] input, int inputOffset, int inputLen)
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
|
int
|
engineDoFinal(ByteBuffer input, ByteBuffer output)
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
|
abstract
int
|
engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
|
abstract
int
|
engineGetBlockSize()
Returns the block size (in bytes).
|
abstract
byte[]
|
engineGetIV()
Returns the initialization vector (IV) in a new buffer.
|
int
|
engineGetKeySize(Key key)
Returns the key size of the given key object in bits.
|
abstract
int
|
engineGetOutputSize(int inputLen)
Returns the length in bytes that an output buffer would
need to be in order to hold the result of the next update
or doFinal operation, given the input length
inputLen (in bytes).
|
abstract
AlgorithmParameters
|
engineGetParameters()
Returns the parameters used with this cipher.
|
abstract
void
|
engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
Initializes this cipher with a key, a set of
algorithm parameters, and a source of randomness.
|
abstract
void
|
engineInit(int opmode, Key key, SecureRandom random)
Initializes this cipher with a key and a source
of randomness.
|
abstract
void
|
engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random)
Initializes this cipher with a key, a set of
algorithm parameters, and a source of randomness.
|
abstract
void
|
engineSetMode(String mode)
Sets the mode of this cipher.
|
abstract
void
|
engineSetPadding(String padding)
Sets the padding mechanism of this cipher.
|
Key
|
engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
Unwrap a previously wrapped key.
|
int
|
engineUpdate(ByteBuffer input, ByteBuffer output)
Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
|
abstract
int
|
engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)
Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
|
abstract
byte[]
|
engineUpdate(byte[] input, int inputOffset, int inputLen)
Continues a multiple-part encryption or decryption operation
(depending on how this cipher was initialized), processing another data
part.
|
byte[]
|
engineWrap(Key key)
Wrap a key.
|