Files
JJBB/Assets/Plugins/Best HTTP/Source/SecureProtocol/crypto/tls/PrfAlgorithm.cs
2024-08-23 15:49:34 +08:00

29 lines
768 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
{
/// <summary>RFC 5246</summary>
/// <remarks>
/// Note that the values here are implementation-specific and arbitrary. It is recommended not to
/// depend on the particular values (e.g. serialization).
/// </remarks>
public abstract class PrfAlgorithm
{
/*
* Placeholder to refer to the legacy TLS algorithm
*/
public const int tls_prf_legacy = 0;
public const int tls_prf_sha256 = 1;
/*
* Implied by RFC 5288
*/
public const int tls_prf_sha384 = 2;
}
}
#pragma warning restore
#endif