Provides the classes and interfaces for cryptographic
operations.
-
class
This exception is thrown when a
Cipher
operating in
an AEAD mode (such as GCM/CCM) is unable to verify the supplied
authentication tag.
final byte[]
Finishes a multiple-part encryption or decryption operation, depending
on how this Cipher
object was initialized.
final byte[]
Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation.
final int
Cipher.doFinal(byte[] output,
int outputOffset)
Finishes a multiple-part encryption or decryption operation, depending
on how this Cipher
object was initialized.
final byte[]
Cipher.doFinal(byte[] input,
int inputOffset,
int inputLen)
Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation.
final int
Cipher.doFinal(byte[] input,
int inputOffset,
int inputLen,
byte[] output)
Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation.
final int
Cipher.doFinal(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.
final int
Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation.
protected abstract byte[]
CipherSpi.engineDoFinal(byte[] input,
int inputOffset,
int inputLen)
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
protected abstract int
CipherSpi.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.
protected int
Encrypts or decrypts data in a single-part operation,
or finishes a multiple-part operation.
Retrieves the original (encapsulated) object.