DoxigAlpha

Options

Fields of this type

Fields

#
host:union(enum) { /// No host verification is performed, which prevents a trusted connection from /// being established. no_verification, /// Verify that the server certificate was issued for a given host. explicit: []const u8, }
How to perform host verification of server certificates.
ca:union(enum) { /// No ca verification is performed, which prevents a trusted connection from /// being established. no_verification, /// Verify that the server certificate is a valid self-signed certificate. /// This provides no authorization guarantees, as anyone can create a /// self-signed certificate. self_signed, /// Verify that the server certificate is authorized by a given ca bundle. bundle: Certificate.Bundle, }
How to verify the authenticity of server certificates.
ssl_key_log:?*SslKeyLog
If non-null, ssl secrets are logged to this stream.
allow_truncation_attacks:bool
By default, reaching the end-of-stream when reading from the server will
write_buffer:[]u8
read_buffer:[]u8
alert:?*tls.Alert
Populated when `error.TlsAlert` is returned from `init`.