summaryrefslogtreecommitdiff
path: root/docs/api-docs/common/lib_server/TLSContext.txt
blob: ff50d3e6b9ae4d2acd1c4b525cb4ad253f14c6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CLASS TLSContext

A wrapper over the OpenSSL context object.

Note: you need to call SSLLib::Initialise at the beginning of your program to use these functions.


SUBTITLE Construction

The constuctor takes the following parameters

* Boolean for whether this is acting as a server or a client
* The .pem file containing the certificate which will be used
* The .pem file containing the private key for this certificate
* The .pem file containing the certificates which will certify the other end of the connection.