add all
This commit is contained in:
19
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/tls/TlsDHGroupVerifier.cs
vendored
Normal file
19
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/tls/TlsDHGroupVerifier.cs
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls
|
||||
{
|
||||
/// <summary>Interface for verifying explicit Diffie-Hellman group parameters.</summary>
|
||||
public interface TlsDHGroupVerifier
|
||||
{
|
||||
/// <summary>Check whether the given DH group is acceptable for use.</summary>
|
||||
/// <param name="dhGroup">the <see cref="DHGroup"/> to check.</param>
|
||||
/// <returns>true if (and only if) the specified group is acceptable.</returns>
|
||||
bool Accept(DHGroup dhGroup);
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user