SSLContext.this - multiple declarations

Function SSLContext.this

Creates a new context of the given kind.

Prototype

this(
  SSLContextKind kind,
  SSLVersion ver
);

Parameters

NameDescription
kind Specifies if the context is going to be used on the client or on the server end of the SSL tunnel
ver The SSL/TLS protocol used for negotiating the tunnel

Notice

Please use createSSLContext instead of directly using the constructor - will be deprecated soon.

Function SSLContext.this

Convenience constructor to create a server context - will be deprecated soon

Prototype

this(
  string cert_file,
  string key_file,
  SSLVersion ver
);

Function SSLContext.this

Convenience constructor to create a client context - will be deprecated soon

Prototype

this(
  SSLVersion ver
);

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.