Module java.base
Package javax.crypto

# Class KeyAgreementSpi

=
public abstract class KeyAgreementSpi
extends java.lang.Object

## Constructors

- =
  public KeyAgreementSpi()

## Methods

- =
  protected abstract java.security.Key engineDoPhase(java.security.Key arg0, boolean arg1) throws java.lang.IllegalStateException, java.security.InvalidKeyException
- =
  protected abstract byte[] engineGenerateSecret() throws java.lang.IllegalStateException
- =
  protected abstract int engineGenerateSecret(byte[] arg0, int arg1) throws java.lang.IllegalStateException, javax.crypto.ShortBufferException
- =
  protected abstract javax.crypto.SecretKey engineGenerateSecret(java.lang.String arg0) throws java.lang.IllegalStateException, java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
- =
  protected abstract void engineInit(java.security.Key arg0, java.security.SecureRandom arg1) throws java.security.InvalidKeyException
- =
  protected abstract void engineInit(java.security.Key arg0, java.security.spec.AlgorithmParameterSpec arg1, java.security.SecureRandom arg2) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException

## Summary

No differences.