Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


oracle.security.crypto.jce.provider
Class AESSpi

java.lang.Object
  extended by javax.crypto.CipherSpi
      extended by oracle.security.crypto.jce.provider.PhaosBlockCipherSpi
          extended by oracle.security.crypto.jce.provider.AESSpi


public class AESSpi
extends PhaosBlockCipherSpi

Field Summary

 

Fields inherited from class oracle.security.crypto.jce.provider.PhaosBlockCipherSpi
algID, cipher, mode, random

 

Constructor Summary
AESSpi()
           

 

Method Summary
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.

 

Methods inherited from class oracle.security.crypto.jce.provider.PhaosBlockCipherSpi
checkIV, engineDoFinal, engineDoFinal, engineGetBlockSize, engineGetIV, engineGetKeySize, engineGetOutputSize, engineGetParameters, engineSetMode, engineSetPadding, engineUnwrap, engineUpdate, engineUpdate, engineWrap

 

Methods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineUpdate

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AESSpi

public AESSpi()

Method Detail

engineInit

protected void engineInit(int opMode,
                          java.security.Key key,
                          java.security.AlgorithmParameters params,
                          java.security.SecureRandom random)
                   throws java.security.InvalidKeyException,
                          java.security.InvalidAlgorithmParameterException
Description copied from class: PhaosBlockCipherSpi
Initializes the engine with given mode, key, and source of randomness. The IV is taken from the parameter spec, which must be an IvParameterSpec. 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.
Overrides:
engineInit in class PhaosBlockCipherSpi
Throws:
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException

engineInit

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
Description copied from class: PhaosBlockCipherSpi
Initializes the engine with given mode, key, and source of randomness. The IV is taken from the parameter spec, which must be an IvParameterSpec. 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.
Overrides:
engineInit in class PhaosBlockCipherSpi
Throws:
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException

engineInit

protected void engineInit(int opMode,
                          java.security.Key key,
                          java.security.SecureRandom random)
                   throws java.security.InvalidKeyException
Description copied from class: PhaosBlockCipherSpi
Initializes the engine with given operating mode, key, and source of randomness. Generates an initial vector randomly using the given source (if the feedback mode is CBC). 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.
Overrides:
engineInit in class PhaosBlockCipherSpi
Throws:
java.security.InvalidKeyException

Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


Copyright © 2005, 2009, Oracle. All rights reserved.