public final class OpenSSLECDHKeyAgreement extends KeyAgreementSpi
| Constructor and Description |
|---|
OpenSSLECDHKeyAgreement() |
| Modifier and Type | Method and Description |
|---|---|
Key |
engineDoPhase(Key key,
boolean lastPhase) |
protected byte[] |
engineGenerateSecret() |
protected int |
engineGenerateSecret(byte[] sharedSecret,
int offset) |
protected SecretKey |
engineGenerateSecret(String algorithm) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom random) |
protected void |
engineInit(Key key,
SecureRandom random) |
public Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException
engineDoPhase in class KeyAgreementSpiInvalidKeyExceptionprotected int engineGenerateSecret(byte[] sharedSecret,
int offset)
throws ShortBufferException
engineGenerateSecret in class KeyAgreementSpiShortBufferExceptionprotected byte[] engineGenerateSecret()
engineGenerateSecret in class KeyAgreementSpiprotected SecretKey engineGenerateSecret(String algorithm)
engineGenerateSecret in class KeyAgreementSpiprotected void engineInit(Key key, SecureRandom random) throws InvalidKeyException
engineInit in class KeyAgreementSpiInvalidKeyExceptionprotected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class KeyAgreementSpiInvalidKeyExceptionInvalidAlgorithmParameterException