Пример #1
0
 MSI.IMonoTlsContext IMonoTlsProvider.CreateTlsContext(
     string hostname, bool serverMode, MSI.TlsProtocols protocolFlags,
     X509Certificate serverCertificate, X509CertificateCollection clientCertificates,
     bool remoteCertRequired, bool checkCertName, bool checkCertRevocationStatus,
     MSI.MonoEncryptionPolicy encryptionPolicy, MSI.MonoTlsSettings settings)
 {
     return(CreateTlsContextImpl(
                hostname, serverMode, protocolFlags,
                serverCertificate, clientCertificates,
                remoteCertRequired, encryptionPolicy, settings));
 }
Пример #2
0
 internal override MSI.IMonoTlsContext CreateTlsContext(
     string hostname, bool serverMode, MSI.TlsProtocols protocolFlags,
     X509Certificate serverCertificate, X509CertificateCollection clientCertificates,
     bool remoteCertRequired, MSI.MonoEncryptionPolicy encryptionPolicy,
     MSI.MonoTlsSettings settings)
 {
     return(CreateTlsContextImpl(
                hostname, serverMode, (MSI.TlsProtocols)protocolFlags,
                serverCertificate, clientCertificates,
                remoteCertRequired, (MSI.MonoEncryptionPolicy)encryptionPolicy,
                settings));
 }
Пример #3
0
 protected abstract MSI.IMonoTlsContext CreateTlsContextImpl(
     string hostname, bool serverMode, MSI.TlsProtocols protocolFlags,
     X509Certificate serverCertificate, X509CertificateCollection clientCertificates,
     bool remoteCertRequired, MSI.MonoEncryptionPolicy encryptionPolicy,
     MSI.MonoTlsSettings settings);