Package | Description |
---|---|
org.bouncycastle.crypto.agreement | |
org.bouncycastle.crypto.tls | |
org.bouncycastle.jcajce.provider.asymmetric.dh |
Modifier and Type | Method and Description |
---|---|
BigInteger |
DHAgreement.calculateAgreement(DHPublicKeyParameters pub,
BigInteger message)
given a message from a given party and the corresponding public key,
calculate the next message in the agreement sequence.
|
Modifier and Type | Field and Description |
---|---|
protected DHPublicKeyParameters |
TlsDHKeyExchange.dhAgreePublicKey |
protected DHPublicKeyParameters |
TlsPSKKeyExchange.dhAgreePublicKey |
protected DHPublicKeyParameters |
ServerDHParams.publicKey |
Modifier and Type | Method and Description |
---|---|
DHPublicKeyParameters |
ServerDHParams.getPublicKey() |
static DHPublicKeyParameters |
TlsDHUtils.validateDHPublicKey(DHPublicKeyParameters key) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
TlsDHUtils.calculateDHBasicAgreement(DHPublicKeyParameters publicKey,
DHPrivateKeyParameters privateKey) |
static DHPublicKeyParameters |
TlsDHUtils.validateDHPublicKey(DHPublicKeyParameters key) |
Constructor and Description |
---|
ServerDHParams(DHPublicKeyParameters publicKey) |
Modifier and Type | Method and Description |
---|---|
DHPublicKeyParameters |
BCDHPublicKey.engineGetKeyParameters() |
Copyright © 2018 BouncyCastle.org. All rights reserved.