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, trimZeroes
protected byte[] calcSecret()
calcSecret
in class BaseAgreementSpi
protected void engineInit(Key key, SecureRandom secureRandom) throws InvalidKeyException
engineInit
in class KeyAgreementSpi
InvalidKeyException
protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class KeyAgreementSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, IllegalStateException
engineDoPhase
in class KeyAgreementSpi
InvalidKeyException
IllegalStateException
Copyright © 2021 BouncyCastle.org. All rights reserved.