Package org.bouncycastle.tls
Interface TlsKeyExchangeFactory
- All Known Implementing Classes:
AbstractTlsKeyExchangeFactory
,DefaultTlsKeyExchangeFactory
public interface TlsKeyExchangeFactory
Interface for a key exchange factory offering a variety of specific algorithms.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDHanonKeyExchangeClient
(int keyExchange, TlsDHGroupVerifier dhGroupVerifier) createDHanonKeyExchangeServer
(int keyExchange, TlsDHConfig dhConfig) createDHEKeyExchangeClient
(int keyExchange, TlsDHGroupVerifier dhGroupVerifier) createDHEKeyExchangeServer
(int keyExchange, TlsDHConfig dhConfig) createDHKeyExchange
(int keyExchange) createECDHanonKeyExchangeClient
(int keyExchange) createECDHanonKeyExchangeServer
(int keyExchange, TlsECConfig ecConfig) createECDHEKeyExchangeClient
(int keyExchange) createECDHEKeyExchangeServer
(int keyExchange, TlsECConfig ecConfig) createECDHKeyExchange
(int keyExchange) createPSKKeyExchangeClient
(int keyExchange, TlsPSKIdentity pskIdentity, TlsDHGroupVerifier dhGroupVerifier) createPSKKeyExchangeServer
(int keyExchange, TlsPSKIdentityManager pskIdentityManager, TlsDHConfig dhConfig, TlsECConfig ecConfig) createRSAKeyExchange
(int keyExchange) createSRPKeyExchangeClient
(int keyExchange, TlsSRPIdentity srpIdentity, TlsSRPConfigVerifier srpConfigVerifier) createSRPKeyExchangeServer
(int keyExchange, TlsSRPLoginParameters loginParameters)
-
Method Details
-
createDHKeyExchange
- Throws:
IOException
-
createDHanonKeyExchangeClient
TlsKeyExchange createDHanonKeyExchangeClient(int keyExchange, TlsDHGroupVerifier dhGroupVerifier) throws IOException - Throws:
IOException
-
createDHanonKeyExchangeServer
TlsKeyExchange createDHanonKeyExchangeServer(int keyExchange, TlsDHConfig dhConfig) throws IOException - Throws:
IOException
-
createDHEKeyExchangeClient
TlsKeyExchange createDHEKeyExchangeClient(int keyExchange, TlsDHGroupVerifier dhGroupVerifier) throws IOException - Throws:
IOException
-
createDHEKeyExchangeServer
- Throws:
IOException
-
createECDHKeyExchange
- Throws:
IOException
-
createECDHanonKeyExchangeClient
- Throws:
IOException
-
createECDHanonKeyExchangeServer
TlsKeyExchange createECDHanonKeyExchangeServer(int keyExchange, TlsECConfig ecConfig) throws IOException - Throws:
IOException
-
createECDHEKeyExchangeClient
- Throws:
IOException
-
createECDHEKeyExchangeServer
TlsKeyExchange createECDHEKeyExchangeServer(int keyExchange, TlsECConfig ecConfig) throws IOException - Throws:
IOException
-
createPSKKeyExchangeClient
TlsKeyExchange createPSKKeyExchangeClient(int keyExchange, TlsPSKIdentity pskIdentity, TlsDHGroupVerifier dhGroupVerifier) throws IOException - Throws:
IOException
-
createPSKKeyExchangeServer
TlsKeyExchange createPSKKeyExchangeServer(int keyExchange, TlsPSKIdentityManager pskIdentityManager, TlsDHConfig dhConfig, TlsECConfig ecConfig) throws IOException - Throws:
IOException
-
createRSAKeyExchange
- Throws:
IOException
-
createSRPKeyExchangeClient
TlsKeyExchange createSRPKeyExchangeClient(int keyExchange, TlsSRPIdentity srpIdentity, TlsSRPConfigVerifier srpConfigVerifier) throws IOException - Throws:
IOException
-
createSRPKeyExchangeServer
TlsKeyExchange createSRPKeyExchangeServer(int keyExchange, TlsSRPLoginParameters loginParameters) throws IOException - Throws:
IOException
-