javax.crypto
Class KeyAgreementSpi
java.lang.Object
javax.crypto.KeyAgreementSpi
public abstract class KeyAgreementSpi
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyAgreementSpi
public KeyAgreementSpi()
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
Please submit a feedback, bug or feature