12345678910111213141516171819202122232425262728 |
- #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
|