Struct TlsIdentity

Struct Documentation

struct TlsIdentity

TLS configuration for a WebSocket server.

Public Members

std::vector<std::byte> cert

PEM-encoded X.509 certificate for the server.

Only the first certificate in the PEM data is used.

std::vector<std::byte> key

PEM-encoded PKCS#8 private key for the server.