Build 1.0_r1(from source)

javax.crypto
Class KeyAgreementSpi

java.lang.Object
  extended by javax.crypto.KeyAgreementSpi

public abstract class KeyAgreementSpi
extends Object


Constructor Summary
KeyAgreementSpi()
           
 
Method Summary
protected abstract  Key engineDoPhase(Key key, boolean lastPhase)
           
protected abstract  byte[] engineGenerateSecret()
           
protected abstract  int engineGenerateSecret(byte[] sharedSecret, int offset)
           
protected abstract  SecretKey engineGenerateSecret(String algorithm)
           
protected abstract  void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random)
           
protected abstract  void engineInit(Key key, SecureRandom random)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyAgreementSpi

public KeyAgreementSpi()
Method Detail

engineDoPhase

protected abstract Key engineDoPhase(Key key,
                                     boolean lastPhase)
                              throws InvalidKeyException,
                                     IllegalStateException
Throws:
InvalidKeyException
IllegalStateException

engineGenerateSecret

protected abstract byte[] engineGenerateSecret()
                                        throws IllegalStateException
Throws:
IllegalStateException

engineGenerateSecret

protected abstract int engineGenerateSecret(byte[] sharedSecret,
                                            int offset)
                                     throws IllegalStateException,
                                            ShortBufferException
Throws:
IllegalStateException
ShortBufferException

engineGenerateSecret

protected abstract SecretKey engineGenerateSecret(String algorithm)
                                           throws IllegalStateException,
                                                  NoSuchAlgorithmException,
                                                  InvalidKeyException
Throws:
IllegalStateException
NoSuchAlgorithmException
InvalidKeyException

engineInit

protected abstract void engineInit(Key key,
                                   SecureRandom random)
                            throws InvalidKeyException
Throws:
InvalidKeyException

engineInit

protected abstract void engineInit(Key key,
                                   AlgorithmParameterSpec params,
                                   SecureRandom random)
                            throws InvalidKeyException,
                                   InvalidAlgorithmParameterException
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature