File: TLSContext.txt

package info (click to toggle)
boxbackup 0.13~~git20200326.g8e8b63c-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,984 kB
  • sloc: xml: 70,723; cpp: 55,437; ansic: 24,659; perl: 4,844; sh: 4,292; makefile: 629; python: 311
file content (16 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (8)
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.