Class DHExchange
- java.lang.Object
-
- org.activecomponents.udp.asymciphers.AbstractKeyExchange
-
- org.activecomponents.udp.asymciphers.DHExchange
-
- All Implemented Interfaces:
IKeyExchange
public class DHExchange extends AbstractKeyExchange
-
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.crypto.agreement.DHBasicAgreement
agreement
Key Agreement.protected static int
DEFAULT_KEY_SIZE
Key sizeprotected org.bouncycastle.crypto.AsymmetricCipherKeyPair
keypair
Generated key pair.
-
Constructor Summary
Constructors Constructor Description DHExchange()
-
Method Summary
-
Methods inherited from class org.activecomponents.udp.asymciphers.AbstractKeyExchange
generateSymKey, getPublicKey
-
-
-
-
Field Detail
-
DEFAULT_KEY_SIZE
protected static final int DEFAULT_KEY_SIZE
Key size- See Also:
- Constant Field Values
-
keypair
protected org.bouncycastle.crypto.AsymmetricCipherKeyPair keypair
Generated key pair.
-
agreement
protected org.bouncycastle.crypto.agreement.DHBasicAgreement agreement
Key Agreement.
-
-