public abstract class MonoTlsProvider
{
+ internal MonoTlsProvider ()
+ {
+ }
+
public abstract Guid ID {
get;
}
get;
}
+ /*
+ * Does this provider support IMonoSslStream.GetConnectionInfo() ?
+ */
+ public abstract bool SupportsConnectionInfo {
+ get;
+ }
+
/*
* Whether or not this TLS Provider supports Mono-specific extensions
* (via @MonoTlsSettings).
*/
public virtual bool InvokeSystemCertificateValidator (
ICertificateValidator validator, string targetHost, bool serverMode,
- X509CertificateCollection certificates, X509Chain chain, out bool success,
+ X509CertificateCollection certificates, ref X509Chain chain, out bool success,
ref MonoSslPolicyErrors errors, ref int status11)
{
success = false;
* The managed SSPI implementation from the new TLS code.
*/
- public abstract bool SupportsTlsContext {
+ internal abstract bool SupportsTlsContext {
get;
}
- public abstract IMonoTlsContext CreateTlsContext (
+ internal abstract IMonoTlsContext CreateTlsContext (
string hostname, bool serverMode, TlsProtocols protocolFlags,
X509Certificate serverCertificate, X509CertificateCollection clientCertificates,
bool remoteCertRequired, MonoEncryptionPolicy encryptionPolicy,