| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedKeySize(int keyLength)
Implements abstract org. keySize (in
bytes) and throws InvalidKeyException if it doesn't.
|
| protected AlgorithmParameters | engineGetParameters()
Returns the parameters used with this cipher.
|
| pack-priv String | getBaseCipherName()
Implements abstract org. |
| pack-priv int | |
| pack-priv int | getOutputSizeForFinal(int inputLen)
Overrides org. doFinal() is called with this
inputLen.
|
| protected AlgorithmParameterSpec |
| AES_BLOCK_SIZE | back to summary |
|---|---|
| private static final int AES_BLOCK_SIZE | |
| OpenSSLAeadCipherAES | back to summary |
|---|---|
| pack-priv OpenSSLAeadCipherAES(OpenSSLCipher. | |
| checkSupportedKeySize | back to summary |
|---|---|
| pack-priv void checkSupportedKeySize(int keyLength) throws InvalidKeyException Implements abstract org. Doc from org. Checks whether the cipher supports this particular
| |
| engineGetParameters | back to summary |
|---|---|
| protected AlgorithmParameters engineGetParameters() Overrides org. Doc from javax. Returns the parameters used with this cipher. The returned parameters may be the same that were used to initialize
this cipher, or may contain additional default or random parameter
values used by the underlying cipher implementation. If the required
parameters were not supplied and can be generated by the cipher, the
generated parameters are returned. Otherwise,
| |
| getBaseCipherName | back to summary |
|---|---|
| pack-priv String getBaseCipherName() Implements abstract org. Doc from org. Returns the standard name for the particular algorithm.
| |
| getCipherBlockSize | back to summary |
|---|---|
| pack-priv int getCipherBlockSize() Implements abstract org.
| |
| getOutputSizeForFinal | back to summary |
|---|---|
| pack-priv int getOutputSizeForFinal(int inputLen) Overrides org. Doc from org. The size of output if
| |
| getParameterSpec | back to summary |
|---|---|
| protected AlgorithmParameterSpec getParameterSpec(AlgorithmParameters params) throws InvalidAlgorithmParameterException Overrides org.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedMode(OpenSSLCipher.
Implements abstract org. mode
and throws NoSuchAlgorithmException if it doesn't.
|
| pack-priv long |
| GCM | back to summary |
|---|---|
| public GCM() | |
| checkSupportedMode | back to summary |
|---|---|
| pack-priv void checkSupportedMode(OpenSSLCipher. Implements abstract org. Doc from org. Checks whether the cipher supports this particular cipher
| |
| getEVP_AEAD | back to summary |
|---|---|
| pack-priv long getEVP_AEAD(int keyLength) throws InvalidKeyException Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedKeySize(int keyLength)
Overrides org. keySize (in
bytes) and throws InvalidKeyException if it doesn't.
|
| AES_128 | back to summary |
|---|---|
| public AES_128() | |
| checkSupportedKeySize | back to summary |
|---|---|
| pack-priv void checkSupportedKeySize(int keyLength) throws InvalidKeyException Overrides org. Doc from org. Checks whether the cipher supports this particular
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedKeySize(int keyLength)
Overrides org. keySize (in
bytes) and throws InvalidKeyException if it doesn't.
|
| AES_256 | back to summary |
|---|---|
| public AES_256() | |
| checkSupportedKeySize | back to summary |
|---|---|
| pack-priv void checkSupportedKeySize(int keyLength) throws InvalidKeyException Overrides org. Doc from org. Checks whether the cipher supports this particular
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | allowsNonceReuse()
Returns whether reusing nonces is allowed (aka, whether this is nonce misuse-resistant).
|
| pack-priv void | checkSupportedMode(OpenSSLCipher.
Implements abstract org. mode
and throws NoSuchAlgorithmException if it doesn't.
|
| pack-priv void | checkSupportedTagLength(int tagLengthInBits)
Overrides org. |
| pack-priv long |
| GCM_SIV | back to summary |
|---|---|
| public GCM_SIV() | |
| allowsNonceReuse | back to summary |
|---|---|
| pack-priv boolean allowsNonceReuse() Overrides org. Doc from org. Returns whether reusing nonces is allowed (aka, whether this is nonce misuse-resistant). Most AEAD ciphers are not, but some are specially constructed so that reusing a key/nonce pair is safe.
| |
| checkSupportedMode | back to summary |
|---|---|
| pack-priv void checkSupportedMode(OpenSSLCipher. Implements abstract org. Doc from org. Checks whether the cipher supports this particular cipher
| |
| checkSupportedTagLength | back to summary |
|---|---|
| pack-priv void checkSupportedTagLength(int tagLengthInBits) throws InvalidAlgorithmParameterException Overrides org.
| |
| getEVP_AEAD | back to summary |
|---|---|
| pack-priv long getEVP_AEAD(int keyLength) throws InvalidKeyException Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedKeySize(int keyLength)
Overrides org. keySize (in
bytes) and throws InvalidKeyException if it doesn't.
|
| AES_128 | back to summary |
|---|---|
| public AES_128() | |
| checkSupportedKeySize | back to summary |
|---|---|
| pack-priv void checkSupportedKeySize(int keyLength) throws InvalidKeyException Overrides org. Doc from org. Checks whether the cipher supports this particular
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | checkSupportedKeySize(int keyLength)
Overrides org. keySize (in
bytes) and throws InvalidKeyException if it doesn't.
|
| AES_256 | back to summary |
|---|---|
| public AES_256() | |
| checkSupportedKeySize | back to summary |
|---|---|
| pack-priv void checkSupportedKeySize(int keyLength) throws InvalidKeyException Overrides org. Doc from org. Checks whether the cipher supports this particular
| |