LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
Data Fields
C4TLSConfig Struct Reference

TLS configuration for C4Listener. More...

#include <c4ListenerTypes.h>

Data Fields

C4PrivateKeyRepresentation privateKeyRepresentation
 Interpretation of privateKey
 
C4KeyPairkey
 A key pair that contains the private key.
 
C4Certcertificate
 X.509 certificate data.
 
bool requireClientCerts
 True to require clients to authenticate with a cert.
 
C4CertrootClientCerts
 Root CA certs to trust when verifying client cert.
 
C4ListenerCertAuthCallback certAuthCallback
 Callback for X.509 cert auth.
 
void * tlsCallbackContext
 

Detailed Description

TLS configuration for C4Listener.

Field Documentation

◆ certAuthCallback

C4ListenerCertAuthCallback C4TLSConfig::certAuthCallback

Callback for X.509 cert auth.

◆ certificate

C4Cert* C4TLSConfig::certificate

X.509 certificate data.

◆ key

C4KeyPair* C4TLSConfig::key

A key pair that contains the private key.

◆ privateKeyRepresentation

C4PrivateKeyRepresentation C4TLSConfig::privateKeyRepresentation

Interpretation of privateKey

◆ requireClientCerts

bool C4TLSConfig::requireClientCerts

True to require clients to authenticate with a cert.

◆ rootClientCerts

C4Cert* C4TLSConfig::rootClientCerts

Root CA certs to trust when verifying client cert.

◆ tlsCallbackContext

void* C4TLSConfig::tlsCallbackContext

The documentation for this struct was generated from the following file: