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, trimZeroesprotected KeyAgreementSpi(String kaAlgorithm, ECVKOAgreement agreement, DerivationFunction kdf)
protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException
engineDoPhase in class KeyAgreementSpiInvalidKeyExceptionIllegalStateExceptionprotected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class KeyAgreementSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected void engineInit(Key key, SecureRandom random) throws InvalidKeyException
engineInit in class KeyAgreementSpiInvalidKeyExceptionprotected byte[] calcSecret()
calcSecret in class BaseAgreementSpiCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.