public static final class AesCipher.GcmNoPadding extends AesCipher
GcmBlockMechanismAesCipher.CBCPKCS5Padding, AesCipher.GcmNoPadding| Constructor and Description |
|---|
GcmNoPadding()
The constructor; creates a new instance of the AES/GCM/NoPadding
symmetric cipher algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
engineSetMode(java.lang.String mode)
Sets the block mode of this cipher.
|
protected void |
engineSetPadding(java.lang.String padding)
Sets the padding type of this cipher.
|
engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineInit, engineInit, engineInit, engineUnwrap, engineUpdate, engineUpdate, engineUpdateAAD, engineWrappublic GcmNoPadding()
Applications should never use this constructor, instead the symmetric
cipher algorithm should be requested from the appropriate JCA/JCE
cryptographic service provider as follows:
Cipher.getInstance("AES/GCM/NoPadding", "Entrust").
GcmBlockMechanismprotected final void engineSetMode(java.lang.String mode)
throws java.security.NoSuchAlgorithmException
SymmetricBlockCipherengineSetMode in class SymmetricBlockCiphermode - [FIPS 140-2 control input] the cipher block modejava.security.NoSuchAlgorithmException - [FIPS 140-2 status output] if the requested cipher block mode
is not supportedprotected void engineSetPadding(java.lang.String padding)
throws javax.crypto.NoSuchPaddingException
SymmetricBlockCipherengineSetPadding in class SymmetricBlockCipherpadding - [FIPS 140-2 control input] the padding typejavax.crypto.NoSuchPaddingException - [FIPS 140-2 status output] if the requested padding type does
not exist