| Modifier and Type | Field and Description |
|---|---|
| protected TlsDHConfig | |
| protected BcTlsCrypto | |
| protected DHParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static BcTlsSecret | calculateDHAgreement(BcTlsCrypto crypto, DHPrivateKeyParameters privateKey, DHPublicKeyParameters publicKey, boolean padded)
|
| public BcTlsSecret | |
| public TlsAgreement | createDH()
Implements org. Return an agreement operator suitable for ephemeral Diffie-Hellman. |
| public BigInteger | |
| public DHPublicKeyParameters | |
| public byte[] | |
| public byte[] | |
| private static byte[] | |
| public AsymmetricCipherKeyPair | |
| public static DHParameters | |
| private static int |
| config | back to summary |
|---|---|
| protected TlsDHConfig config | |
| crypto | back to summary |
|---|---|
| protected BcTlsCrypto crypto | |
| domainParameters | back to summary |
|---|---|
| protected DHParameters domainParameters | |
| BcTlsDHDomain | back to summary |
|---|---|
| public BcTlsDHDomain(BcTlsCrypto crypto, TlsDHConfig dhConfig) | |
| calculateDHAgreement | back to summary |
|---|---|
| public static BcTlsSecret calculateDHAgreement(BcTlsCrypto crypto, DHPrivateKeyParameters privateKey, DHPublicKeyParameters publicKey, boolean padded) | |
| calculateDHAgreement | back to summary |
|---|---|
| public BcTlsSecret calculateDHAgreement(DHPrivateKeyParameters privateKey, DHPublicKeyParameters publicKey) | |
| createDH | back to summary |
|---|---|
| public TlsAgreement createDH() Implements org. Doc from org. Return an agreement operator suitable for ephemeral Diffie-Hellman.
| |
| decodeParameter | back to summary |
|---|---|
| public BigInteger decodeParameter(byte[] encoding) throws IOException | |
| decodePublicKey | back to summary |
|---|---|
| public DHPublicKeyParameters decodePublicKey(byte[] encoding) throws IOException | |
| encodeParameter | back to summary |
|---|---|
| public byte[] encodeParameter(BigInteger x) | |
| encodePublicKey | back to summary |
|---|---|
| public byte[] encodePublicKey(DHPublicKeyParameters publicKey) | |
| encodeValue | back to summary |
|---|---|
| private static byte[] encodeValue(DHParameters dh, boolean padded, BigInteger x) | |
| generateKeyPair | back to summary |
|---|---|
| public AsymmetricCipherKeyPair generateKeyPair() | |
| getDomainParameters | back to summary |
|---|---|
| public static DHParameters getDomainParameters(TlsDHConfig dhConfig) | |
| getValueLength | back to summary |
|---|---|
| private static int getValueLength(DHParameters dh) | |