public class AESSpi extends PhaosBlockCipherSpi
algID, cipher, mode, random| Constructor and Description |
|---|
AESSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
engineInit(int opMode, java.security.Key key, java.security.spec.AlgorithmParameterSpec paramSpec, java.security.SecureRandom random)
Initializes the engine with given mode, key, and source of randomness.
|
protected void |
engineInit(int opMode, java.security.Key key, java.security.AlgorithmParameters params, java.security.SecureRandom random)
Initializes the engine with given mode, key, and source of randomness.
|
protected void |
engineInit(int opMode, java.security.Key key, java.security.SecureRandom random)
Initializes the engine with given operating mode, key, and source of randomness.
|
checkIV, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap
protected void engineInit(int opMode,
java.security.Key key,
java.security.AlgorithmParameters params,
java.security.SecureRandom random)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
PhaosBlockCipherSpiIvParameterSpec. If key is of "RAW" format, then it is assumed to employ a plain binary encoding. Any other format causes an InvalidKeyException to be thrown.engineInit in class PhaosBlockCipherSpijava.security.InvalidKeyExceptionjava.security.InvalidAlgorithmParameterException
protected void engineInit(int opMode,
java.security.Key key,
java.security.spec.AlgorithmParameterSpec paramSpec,
java.security.SecureRandom random)
throws java.security.InvalidKeyException,
java.security.InvalidAlgorithmParameterException
PhaosBlockCipherSpiIvParameterSpec. If key is of "RAW" format, then it is assumed to employ a plain binary encoding. Any other format causes an InvalidKeyException to be thrown.engineInit in class PhaosBlockCipherSpijava.security.InvalidKeyExceptionjava.security.InvalidAlgorithmParameterException
protected void engineInit(int opMode,
java.security.Key key,
java.security.SecureRandom random)
throws java.security.InvalidKeyException
PhaosBlockCipherSpiInvalidKeyException to be thrown.engineInit in class PhaosBlockCipherSpijava.security.InvalidKeyException