init commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using Org.BouncyCastle.Crypto.Prng;
|
||||
using Org.BouncyCastle.Security;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto.Tls;
|
||||
|
||||
public interface TlsContext
|
||||
{
|
||||
IRandomGenerator NonceRandomGenerator { get; }
|
||||
|
||||
SecureRandom SecureRandom { get; }
|
||||
|
||||
SecurityParameters SecurityParameters { get; }
|
||||
|
||||
bool IsServer { get; }
|
||||
|
||||
ProtocolVersion ClientVersion { get; }
|
||||
|
||||
ProtocolVersion ServerVersion { get; }
|
||||
|
||||
TlsSession ResumableSession { get; }
|
||||
|
||||
object UserObject { get; set; }
|
||||
|
||||
byte[] ExportKeyingMaterial(string asciiLabel, byte[] context_value, int length);
|
||||
}
|
||||
Reference in New Issue
Block a user