public class KeyAgreementSpi extends BaseAgreementSpi
Modifier and Type | Class and Description |
---|---|
static class |
KeyAgreementSpi.ECVKO |
kdf, ukmParameters
Modifier | Constructor and Description |
---|---|
protected |
KeyAgreementSpi(String kaAlgorithm,
ECVKOAgreement agreement,
DerivationFunction kdf) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
calcSecret() |
protected Key |
engineDoPhase(Key key,
boolean lastPhase) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom random) |
protected void |
engineInit(Key key,
SecureRandom random) |
engineGenerateSecret, engineGenerateSecret, engineGenerateSecret, getAlgorithm, getKeySize, trimZeroes
protected KeyAgreementSpi(String kaAlgorithm, ECVKOAgreement agreement, DerivationFunction kdf)
protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException
engineDoPhase
in class KeyAgreementSpi
InvalidKeyException
IllegalStateException
protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class KeyAgreementSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException
engineInit
in class KeyAgreementSpi
InvalidKeyException
protected byte[] calcSecret()
calcSecret
in class BaseAgreementSpi
Copyright © 2020 BouncyCastle.org. All rights reserved.