public class KeyAgreementSpi extends BaseAgreementSpi
kaAlgorithm, kdf, ukmParameters| Constructor and Description |
|---|
KeyAgreementSpi() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
calcSecret() |
protected Key |
engineDoPhase(Key key,
boolean lastPhase) |
protected byte[] |
engineGenerateSecret() |
protected int |
engineGenerateSecret(byte[] bytes,
int offset) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec algorithmParameterSpec,
SecureRandom secureRandom) |
protected void |
engineInit(Key key,
SecureRandom secureRandom) |
engineGenerateSecret, getAlgorithm, getKeySize, trimZeroesprotected void engineInit(Key key, SecureRandom secureRandom) throws InvalidKeyException
engineInit in class KeyAgreementSpiInvalidKeyExceptionprotected void engineInit(Key key, AlgorithmParameterSpec algorithmParameterSpec, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class KeyAgreementSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException
engineDoPhase in class KeyAgreementSpiInvalidKeyExceptionIllegalStateExceptionprotected byte[] engineGenerateSecret()
throws IllegalStateException
engineGenerateSecret in class BaseAgreementSpiIllegalStateExceptionprotected int engineGenerateSecret(byte[] bytes,
int offset)
throws IllegalStateException,
ShortBufferException
engineGenerateSecret in class BaseAgreementSpiIllegalStateExceptionShortBufferExceptionprotected byte[] calcSecret()
calcSecret in class BaseAgreementSpiCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.