TeamTalk 5 Java DLL Version 5.18A

Public Attributes | List of all members
BearWare.EncryptionContext Struct Reference
Client/Server Connectivity

Configure peer verification for encrypted connection. More...

## Public Attributes

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

## 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 2825 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 2833 of file TeamTalk.cs.

## ◆ szPrivateKeyFile

string BearWare.EncryptionContext.szPrivateKeyFile

Path to certificate's private key.

Definition at line 2836 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 2842 of file TeamTalk.cs.

## ◆ szCADir

string BearWare.EncryptionContext.szCADir

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

Definition at line 2846 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 2853 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 2864 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 2872 of file TeamTalk.cs.