Rudiments: /home/dmuse/temp/rudiments/include/rudiments/private/tlscontext.h Source File

Rudiments

tlscontext.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 private:
5 void initContext();
6 void initSubContext();
7 void freeContext();
8 void freeSubContext();
9 bool reInit(bool isclient);
10 bool isPeerCertValid();
11 bool loadPeerCert();
12 void clearError();
13 void setError(int32_t ret);
14 void setError(int32_t err, const char *errstr);
15 void setNativeError();
16
17 tlscontextprivate *pvt;