| Modifier and Type | Field and Description |
|---|---|
| protected final JcaTlsCrypto | |
| protected final TlsDHConfig | |
| protected final DHParameterSpec |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static JceTlsSecret | calculateDHAgreement(JcaTlsCrypto crypto, DHPrivateKey privateKey, DHPublicKey publicKey, boolean padded)
|
| public JceTlsSecret | |
| public TlsAgreement | createDH()
Implements org. |
| public BigInteger | |
| public DHPublicKey | |
| public byte[] | |
| public byte[] | |
| private static byte[] | |
| public KeyPair | |
| private static int |
| crypto | back to summary |
|---|---|
| protected final JcaTlsCrypto crypto | |
| dhConfig | back to summary |
|---|---|
| protected final TlsDHConfig dhConfig | |
| dhSpec | back to summary |
|---|---|
| protected final DHParameterSpec dhSpec | |
| JceTlsDHDomain | back to summary |
|---|---|
| public JceTlsDHDomain(JcaTlsCrypto crypto, TlsDHConfig dhConfig) | |
| calculateDHAgreement | back to summary |
|---|---|
| public static JceTlsSecret calculateDHAgreement(JcaTlsCrypto crypto, DHPrivateKey privateKey, DHPublicKey publicKey, boolean padded) throws IOException | |
| calculateDHAgreement | back to summary |
|---|---|
| public JceTlsSecret calculateDHAgreement(DHPrivateKey privateKey, DHPublicKey publicKey) throws IOException | |
| 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 DHPublicKey decodePublicKey(byte[] encoding) throws IOException | |
| encodeParameter | back to summary |
|---|---|
| public byte[] encodeParameter(BigInteger x) throws IOException | |
| encodePublicKey | back to summary |
|---|---|
| public byte[] encodePublicKey(DHPublicKey publicKey) throws IOException | |
| encodeValue | back to summary |
|---|---|
| private static byte[] encodeValue(DHParameterSpec dh, boolean padded, BigInteger x) | |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair() throws IOException | |
| getValueLength | back to summary |
|---|---|
| private static int getValueLength(DHParameterSpec dh) | |