org.spongycastle.tls.crypto.TlsDHDomain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-jdk15on Show documentation
Show all versions of bctls-jdk15on Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
package org.spongycastle.tls.crypto;
/**
* Domain interface to service factory for creating Diffie-Hellman operators.
*/
public interface TlsDHDomain
{
/**
* Return an agreement operator suitable for ephemeral Diffie-Hellman.
*
* @return a key agreement operator.
*/
TlsAgreement createDH();
}