up
This commit is contained in:
28
Assets/BestHTTP/SecureProtocol/crypto/tls/PrfAlgorithm.cs
Normal file
28
Assets/BestHTTP/SecureProtocol/crypto/tls/PrfAlgorithm.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
|
||||
using System;
|
||||
|
||||
namespace 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;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user