1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
using System;
using System.IO;
using Org.BouncyCastle.Tls.Crypto;
namespace 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);
}
}
|