| Package | Description |
|---|---|
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Cipher.doFinal(byte[] output, int outputOffset)
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
|
void |
Mac.doFinal(byte[] output, int outOffset)
Finishes the MAC operation.
|
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.
|
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.
|
int |
Cipher.doFinal(ByteBuffer
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 |
CipherSpi.engineDoFinal(ByteBuffer
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
|
protected abstract int |
KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
Generates the shared secret, and places it into the buffer
sharedSecret, beginning at
offset inclusive.
|
protected abstract int |
ExemptionMechanismSpi.engineGenExemptionBlob(byte[] output, int outputOffset)
Generates the exemption mechanism key blob, and stores the result in the
output buffer, starting at
outputOffset inclusive.
|
protected abstract int |
CipherSpi.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.
|
protected int |
CipherSpi.engineUpdate(ByteBuffer
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
|
int |
KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
Generates the shared secret, and places it into the buffer
sharedSecret, beginning at
offset inclusive.
|
int |
ExemptionMechanism.genExemptionBlob(byte[] output)
Generates the exemption mechanism key blob, and stores the result in the
output buffer.
|
int |
ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
Generates the exemption mechanism key blob, and stores the result in the
output buffer, starting at
outputOffset inclusive.
|
int |
Cipher.update(byte[] input, int inputOffset, int inputLen, byte[] output)
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
|
int |
Cipher.update(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.
|
int |
Cipher.update(ByteBuffer
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
|