Creating a Secure Connection Using Schannel
- Transport Layer Security (TLS 1.2)
- Transport Layer Security (TLS 1.1)
- Transport Layer Security (TLS 1.0)
- Secure Sockets Layer (SSL 3.0)
- Secure Sockets Layer (SSL 2.0)
The PCT and SSL 2.0 protocols have been superseded by the TLS protocol and should not be used for new development.
To set up a secure connection between a client and server
- Obtain Schannel credentials (Obtaining Schannel Credentials).
- Create an Schannel security context (Creating an Schannel Security Context).
After a connection is established, you can retrieve information about its attributes. For details, see Getting Information About Schannel Connections.
If, after you have established a connection, the security requirements of your application change or the connection is lost, you can renegotiate the connection. For details, see Renegotiating an Schannel Connection.
When you have finished using an Schannel connection, you must perform the necessary cleanup. For details, see Shutting Down an Schannel Connection.
For information about samples shipped with the Platform Software Development Kit (SDK) that demonstrate the Schannel security package, see the PSDK samples using Schannel.