diff options
Diffstat (limited to 'cs/src/IceSSL/Plugin.cs')
-rwxr-xr-x | cs/src/IceSSL/Plugin.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/cs/src/IceSSL/Plugin.cs b/cs/src/IceSSL/Plugin.cs index 853996a2f1e..1e0346b05c7 100755 --- a/cs/src/IceSSL/Plugin.cs +++ b/cs/src/IceSSL/Plugin.cs @@ -17,41 +17,41 @@ namespace IceSSL // public interface CertificateVerifier { - // - // Return true to allow a connection using the provided certificate - // information, or false to reject the connection. - // - bool verify(ConnectionInfo info); + // + // Return true to allow a connection using the provided certificate + // information, or false to reject the connection. + // + bool verify(ConnectionInfo info); } abstract public class Plugin : Ice.LocalObjectImpl, Ice.Plugin { - // - // From Ice.Plugin. - // - abstract public void initialize(); + // + // From Ice.Plugin. + // + abstract public void initialize(); - // - // Specify the certificates to use for SSL connections. This - // must be done before the plugin is initialized, therefore - // the application must define the property Ice.InitPlugins=0, - // set the certificates, and finally invoke initializePlugins - // on the PluginManager. - // - // When the application supplies its own certificates, the - // plugin skips its normal property-based configuration. - // - abstract public void setCertificates(X509Certificate2Collection certs); + // + // Specify the certificates to use for SSL connections. This + // must be done before the plugin is initialized, therefore + // the application must define the property Ice.InitPlugins=0, + // set the certificates, and finally invoke initializePlugins + // on the PluginManager. + // + // When the application supplies its own certificates, the + // plugin skips its normal property-based configuration. + // + abstract public void setCertificates(X509Certificate2Collection certs); - // - // Establish the certificate verifier object. This should be - // done before any connections are established. - // - abstract public void setCertificateVerifier(CertificateVerifier verifier); + // + // Establish the certificate verifier object. This should be + // done before any connections are established. + // + abstract public void setCertificateVerifier(CertificateVerifier verifier); - // - // This method is for internal use. - // - abstract public void destroy(); + // + // This method is for internal use. + // + abstract public void destroy(); } } |