public class KeyAgreementSpi extends BaseAgreementSpi
result, ukmParameters| Modifier | Constructor and Description |
|---|---|
protected |
KeyAgreementSpi(String kaAlgorithm,
BasicAgreement agreement,
DerivationFunction kdf) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
bigIntToBytes(BigInteger r) |
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, BasicAgreement agreement, DerivationFunction kdf)
protected byte[] bigIntToBytes(BigInteger r)
bigIntToBytes in class BaseAgreementSpiprotected 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 KeyAgreementSpiInvalidKeyExceptionCopyright © 2015–2017 The veraPDF Consortium. All rights reserved.