TeamTalk 5 .NET DLL Version 5.15A
Loading...
Searching...
No Matches
BearWare.EncryptionContext Struct Reference

Configure peer verification for encrypted connection. More...

Public Attributes

string szCertificateFile
 Path to SSL certificate in PEM format.
 
string szPrivateKeyFile
 Path to certificate's private key.
 
string szCAFile
 Path to Certificate Authority (CA) Certificate in PEM format.
 
string szCADir
 Path to directory containing Certificate Authority (CA) Certificates in PEM format.
 
bool bVerifyPeer
 Verify that peer (client or server) uses a certificate that has been generated by the Certificate Authority contained in szCAFile or szCAdir.
 
bool bVerifyClientOnce
 Whether to only verify client's certificate once during initial connection.
 
int nVerifyDepth
 Set limit to depth in the certificate chain during the verification procedure.
 

Detailed Description

Configure peer verification for encrypted connection.

Client and server can verify that the remote end is using a valid cerficate that has been issued by the same certification authority.

Call TT_SetEncryptionContext() to set up peer verification.

Definition at line 2856 of file TeamTalk.cs.

Member Data Documentation

◆ szCertificateFile

string BearWare.EncryptionContext.szCertificateFile

Path to SSL certificate in PEM format.

If server has enabled bVerifyPeer then the client (BearWare.TeamTalkBase) must have specified its certificate and private key.

Definition at line 2864 of file TeamTalk.cs.

◆ szPrivateKeyFile

string BearWare.EncryptionContext.szPrivateKeyFile

Path to certificate's private key.

Definition at line 2867 of file TeamTalk.cs.

◆ szCAFile

string BearWare.EncryptionContext.szCAFile

Path to Certificate Authority (CA) Certificate in PEM format.

If there's multiple CA certificates use szCADir.

Definition at line 2873 of file TeamTalk.cs.

◆ szCADir

string BearWare.EncryptionContext.szCADir

Path to directory containing Certificate Authority (CA) Certificates in PEM format.

Definition at line 2877 of file TeamTalk.cs.

◆ bVerifyPeer

bool BearWare.EncryptionContext.bVerifyPeer

Verify that peer (client or server) uses a certificate that has been generated by the Certificate Authority contained in szCAFile or szCAdir.

For additional information checkout OpenSSL's SSL_CTX_set_verify() with property SSL_VERIFY_PEER

Definition at line 2884 of file TeamTalk.cs.

◆ bVerifyClientOnce

bool BearWare.EncryptionContext.bVerifyClientOnce

Whether to only verify client's certificate once during initial connection.

Default value is TRUE.

Only valid for server.

For additional information checkout OpenSSL's SSL_CTX_set_verify() with property SSL_VERIFY_CLIENT_ONCE.

Definition at line 2895 of file TeamTalk.cs.

◆ nVerifyDepth

int BearWare.EncryptionContext.nVerifyDepth

Set limit to depth in the certificate chain during the verification procedure.

Default value is 0.

For additional information checkout OpenSSL's SSL_CTX_set_verify_depth()

Definition at line 2903 of file TeamTalk.cs.