25 lines
575 B
C#
25 lines
575 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
|
|
{
|
|
internal class TlsServerContextImpl
|
|
: AbstractTlsContext, TlsServerContext
|
|
{
|
|
internal TlsServerContextImpl(TlsCrypto crypto)
|
|
: base(crypto, ConnectionEnd.server)
|
|
{
|
|
}
|
|
|
|
public override bool IsServer
|
|
{
|
|
get { return true; }
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|