Files
SuperVPN/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crypto/Tls/TlsContext.cs
2025-10-09 09:57:24 +09:00

26 lines
540 B
C#

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);
}