培训考核三期,新版培训,网页版培训登录器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

63 lines
2.5 KiB

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
{
/// <summary>Interface for a key exchange factory offering a variety of specific algorithms.</summary>
public interface TlsKeyExchangeFactory
{
/// <exception cref="IOException"/>
TlsKeyExchange CreateDHKeyExchange(int keyExchange);
/// <exception cref="IOException"/>
TlsKeyExchange CreateDHanonKeyExchangeClient(int keyExchange, TlsDHGroupVerifier dhGroupVerifier);
/// <exception cref="IOException"/>
TlsKeyExchange CreateDHanonKeyExchangeServer(int keyExchange, TlsDHConfig dhConfig);
/// <exception cref="IOException"/>
TlsKeyExchange CreateDheKeyExchangeClient(int keyExchange, TlsDHGroupVerifier dhGroupVerifier);
/// <exception cref="IOException"/>
TlsKeyExchange CreateDheKeyExchangeServer(int keyExchange, TlsDHConfig dhConfig);
/// <exception cref="IOException"/>
TlsKeyExchange CreateECDHKeyExchange(int keyExchange);
/// <exception cref="IOException"/>
TlsKeyExchange CreateECDHanonKeyExchangeClient(int keyExchange);
/// <exception cref="IOException"/>
TlsKeyExchange CreateECDHanonKeyExchangeServer(int keyExchange, TlsECConfig ecConfig);
/// <exception cref="IOException"/>
TlsKeyExchange CreateECDheKeyExchangeClient(int keyExchange);
/// <exception cref="IOException"/>
TlsKeyExchange CreateECDheKeyExchangeServer(int keyExchange, TlsECConfig ecConfig);
/// <exception cref="IOException"/>
TlsKeyExchange CreatePskKeyExchangeClient(int keyExchange, TlsPskIdentity pskIdentity,
TlsDHGroupVerifier dhGroupVerifier);
/// <exception cref="IOException"/>
TlsKeyExchange CreatePskKeyExchangeServer(int keyExchange, TlsPskIdentityManager pskIdentityManager,
TlsDHConfig dhConfig, TlsECConfig ecConfig);
/// <exception cref="IOException"/>
TlsKeyExchange CreateRsaKeyExchange(int keyExchange);
/// <exception cref="IOException"/>
TlsKeyExchange CreateSrpKeyExchangeClient(int keyExchange, TlsSrpIdentity srpIdentity,
TlsSrpConfigVerifier srpConfigVerifier);
/// <exception cref="IOException"/>
TlsKeyExchange CreateSrpKeyExchangeServer(int keyExchange, TlsSrpLoginParameters loginParameters);
}
}
#pragma warning restore
#endif