| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | buffer
Buffer for operations |
| private int | bufferOffset
Current offset in the buffer. |
| pack-priv boolean | encrypting
Current cipher mode: encrypting or decrypting. |
| private boolean | inputTooLarge
Flag that indicates an exception should be thrown when the input is too large during doFinal. |
| pack-priv OpenSSLKey | key
The current OpenSSL key we're operating on. |
| pack-priv int | padding
Current padding mode |
| pack-priv boolean | usingPrivateKey
Current key type: private or public. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv abstract int | |
| protected byte[] | engineDoFinal(byte[]
the input buffer input, int the offset in inputOffset, int input where the input startsthe input length inputLen)Implements abstract javax. |
| protected int | engineDoFinal(byte[]
the input buffer input, int the offset in inputOffset, int input where the input
startsthe input length inputLen, byte[] the buffer for the result output, int the offset in outputOffset)output where the result
is storedImplements abstract javax. |
| protected int | engineGetBlockSize()
Implements abstract javax. |
| protected byte[] | engineGetIV()
Implements abstract javax. |
| protected int | engineGetKeySize(Key
the key object key)Overrides javax. |
| protected int | engineGetOutputSize(int
the input length (in bytes) inputLen)Implements abstract javax. update
or doFinal operation, given the input length
inputLen (in bytes).
|
| protected AlgorithmParameters | engineGetParameters()
Implements abstract javax. |
| protected void | engineInit(int
the operation mode of this opmode, Key CipherSpi object
(this is one of the following:
ENCRYPT_MODE, DECRYPT_MODE,
WRAP_MODE or UNWRAP_MODE)the encryption key key, SecureRandom the source of randomness random)Implements abstract javax. CipherSpi object with a key and a source
of randomness.
|
| protected void | engineInit(int
the operation mode of this opmode, Key CipherSpi object
(this is one of the following:
ENCRYPT_MODE, DECRYPT_MODE,
WRAP_MODE, or UNWRAP_MODE)the encryption key key, AlgorithmParameterSpec the algorithm parameters params, SecureRandom the source of randomness random)Implements abstract javax. CipherSpi object with a key, a set of
algorithm parameters, and a source of randomness.
|
| protected void | engineInit(int
the operation mode of this opmode, Key CipherSpi object
(this is one of the following:
ENCRYPT_MODE, DECRYPT_MODE,
WRAP_MODE, or UNWRAP_MODE)the encryption key key, AlgorithmParameters the algorithm parameters params, SecureRandom the source of randomness random)Implements abstract javax. CipherSpi object with a key, a set of
algorithm parameters, and a source of randomness.
|
| pack-priv void | |
| protected void | engineSetMode(String
the cipher mode mode)Implements abstract javax. |
| protected void | engineSetPadding(String
the padding mechanism padding)Implements abstract javax. |
| protected Key | engineUnwrap(byte[]
the key to be unwrapped wrappedKey, String the algorithm associated with the wrapped
key wrappedKeyAlgorithm, int the type of the wrapped key. This is one of
wrappedKeyType)SECRET_KEY, PRIVATE_KEY, or PUBLIC_KEY.Overrides javax. |
| protected byte[] | engineUpdate(byte[]
the input buffer input, int the offset in inputOffset, int input where the input startsthe input length inputLen)Implements abstract javax. CipherSpi object was initialized),
processing another data part.
|
| protected int | engineUpdate(byte[]
the input buffer input, int the offset in inputOffset, int input where the input
startsthe input length inputLen, byte[] the buffer for the result output, int the offset in outputOffset)output where the result
is storedImplements abstract javax. CipherSpi object was initialized),
processing another data part.
|
| protected byte[] | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int |