public static ValidateServerCertificate ( object sender, |
||
sender | object | |
certificate | ||
chain | ||
sslPolicyErrors | SslPolicyErrors | |
return | bool |
public static bool ValidateServerCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
#if !UNITY_EDITOR
System.Console.WriteLine( "NET: SSL Cert: " + sslPolicyErrors.ToString() );
#else
Debug.LogError("Knetik Labs SDK - ERROR 6: SSL Cert Error: " + sslPolicyErrors.ToString ());
#endif
return true;
}