#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using System.IO;
namespace Org.BouncyCastle.Crypto.Tls
{
public interface TlsAuthentication
{
///
/// Called by the protocol handler to report the server certificate.
///
///
/// This method is responsible for certificate verification and validation
///
/// The server received
///
void NotifyServerCertificate(Certificate serverCertificate);
///
/// Return client credentials in response to server's certificate request
///
///
/// A containing server certificate request details
///
///
/// A to be used for client authentication
/// (or null for no client authentication)
///
///
TlsCredentials GetClientCredentials(TlsContext context, CertificateRequest certificateRequest);
}
}
#endif