public class KeyAgreementSpi extends BaseAgreementSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyAgreementSpi.X25519 |
static class |
KeyAgreementSpi.X25519UwithSHA256CKDF |
static class |
KeyAgreementSpi.X25519UwithSHA256KDF |
static class |
KeyAgreementSpi.X25519withSHA256CKDF |
static class |
KeyAgreementSpi.X25519withSHA256KDF |
static class |
KeyAgreementSpi.X25519withSHA384CKDF |
static class |
KeyAgreementSpi.X25519withSHA512CKDF |
static class |
KeyAgreementSpi.X448 |
static class |
KeyAgreementSpi.X448UwithSHA512CKDF |
static class |
KeyAgreementSpi.X448UwithSHA512KDF |
static class |
KeyAgreementSpi.X448withSHA256CKDF |
static class |
KeyAgreementSpi.X448withSHA384CKDF |
static class |
KeyAgreementSpi.X448withSHA512CKDF |
static class |
KeyAgreementSpi.X448withSHA512KDF |
static class |
KeyAgreementSpi.XDH |
kaAlgorithm, kdf, ukmParameters| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
calcSecret() |
protected Key |
engineDoPhase(Key key,
boolean lastPhase) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom secureRandom) |
protected void |
engineInit(Key key,
SecureRandom secureRandom) |
engineGenerateSecret, engineGenerateSecret, engineGenerateSecret, getAlgorithm, getKeySize, trimZeroesprotected byte[] calcSecret()
calcSecret in class BaseAgreementSpiprotected void engineInit(Key key, SecureRandom secureRandom) throws InvalidKeyException
engineInit in class KeyAgreementSpiInvalidKeyExceptionprotected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit in class KeyAgreementSpiInvalidKeyExceptionInvalidAlgorithmParameterExceptionprotected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException
engineDoPhase in class KeyAgreementSpiInvalidKeyExceptionIllegalStateExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.