Files
tianrunCRM/Assets/BestHTTP/SecureProtocol/crypto/tls/AbstractTlsCipherFactory.cs
2020-07-09 08:50:24 +08:00

20 lines
509 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.Tls
{
public class AbstractTlsCipherFactory
: TlsCipherFactory
{
/// <exception cref="IOException"></exception>
public virtual TlsCipher CreateCipher(TlsContext context, int encryptionAlgorithm, int macAlgorithm)
{
throw new TlsFatalAlert(AlertDescription.internal_error);
}
}
}
#endif