libressl_d.tls

Undocumented in source.

Public Imports

core.stdc.stddef
public import core.stdc.stddef;
Undocumented in source.
core.stdc.stdint
public import core.stdc.stdint;
Undocumented in source.
libressl_d.compat.sys.types
public import libressl_d.compat.sys.types;
Undocumented in source.

Members

Aliases

tls
alias tls = void
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config
alias tls_config = void
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_read_cb
alias tls_read_cb = libressl_d.compat.sys.types.ssize_t function(.tls* _ctx, void* _buf, size_t _buflen, void* _cb_arg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_write_cb
alias tls_write_cb = libressl_d.compat.sys.types.ssize_t function(.tls* _ctx, const(void)* _buf, size_t _buflen, void* _cb_arg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

tls_accept_cbs
int tls_accept_cbs(.tls* _ctx, .tls** _cctx, .tls_read_cb _read_cb, .tls_write_cb _write_cb, void* _cb_arg)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_accept_fds
int tls_accept_fds(.tls* _ctx, .tls** _cctx, int _fd_read, int _fd_write)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_accept_socket
int tls_accept_socket(.tls* _ctx, .tls** _cctx, int _socket)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_client
.tls* tls_client()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_close
int tls_close(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_add_keypair_file
int tls_config_add_keypair_file(.tls_config* _config, const(char)* _cert_file, const(char)* _key_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_add_keypair_mem
int tls_config_add_keypair_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _cert, size_t _cert_len, const(core.stdc.stdint.uint8_t)* _key, size_t _key_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_add_keypair_ocsp_file
int tls_config_add_keypair_ocsp_file(.tls_config* _config, const(char)* _cert_file, const(char)* _key_file, const(char)* _ocsp_staple_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_add_keypair_ocsp_mem
int tls_config_add_keypair_ocsp_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _cert, size_t _cert_len, const(core.stdc.stdint.uint8_t)* _key, size_t _key_len, const(core.stdc.stdint.uint8_t)* _staple, size_t _staple_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_add_ticket_key
int tls_config_add_ticket_key(.tls_config* _config, core.stdc.stdint.uint32_t _keyrev, ubyte* _key, size_t _keylen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_clear_keys
void tls_config_clear_keys(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_error
const(char)* tls_config_error(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_free
void tls_config_free(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_insecure_noverifycert
void tls_config_insecure_noverifycert(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_insecure_noverifyname
void tls_config_insecure_noverifyname(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_insecure_noverifytime
void tls_config_insecure_noverifytime(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_new
.tls_config* tls_config_new()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_ocsp_require_stapling
void tls_config_ocsp_require_stapling(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_parse_protocols
int tls_config_parse_protocols(core.stdc.stdint.uint32_t* _protocols, const(char)* _protostr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_prefer_ciphers_client
void tls_config_prefer_ciphers_client(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_prefer_ciphers_server
void tls_config_prefer_ciphers_server(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_alpn
int tls_config_set_alpn(.tls_config* _config, const(char)* _alpn)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ca_file
int tls_config_set_ca_file(.tls_config* _config, const(char)* _ca_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ca_mem
int tls_config_set_ca_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _ca, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ca_path
int tls_config_set_ca_path(.tls_config* _config, const(char)* _ca_path)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_cert_file
int tls_config_set_cert_file(.tls_config* _config, const(char)* _cert_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_cert_mem
int tls_config_set_cert_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _cert, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ciphers
int tls_config_set_ciphers(.tls_config* _config, const(char)* _ciphers)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_crl_file
int tls_config_set_crl_file(.tls_config* _config, const(char)* _crl_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_crl_mem
int tls_config_set_crl_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _crl, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_dheparams
int tls_config_set_dheparams(.tls_config* _config, const(char)* _params)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ecdhecurve
int tls_config_set_ecdhecurve(.tls_config* _config, const(char)* _curve)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ecdhecurves
int tls_config_set_ecdhecurves(.tls_config* _config, const(char)* _curves)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_key_file
int tls_config_set_key_file(.tls_config* _config, const(char)* _key_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_key_mem
int tls_config_set_key_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _key, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_keypair_file
int tls_config_set_keypair_file(.tls_config* _config, const(char)* _cert_file, const(char)* _key_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_keypair_mem
int tls_config_set_keypair_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _cert, size_t _cert_len, const(core.stdc.stdint.uint8_t)* _key, size_t _key_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_keypair_ocsp_file
int tls_config_set_keypair_ocsp_file(.tls_config* _config, const(char)* _cert_file, const(char)* _key_file, const(char)* _staple_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_keypair_ocsp_mem
int tls_config_set_keypair_ocsp_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _cert, size_t _cert_len, const(core.stdc.stdint.uint8_t)* _key, size_t _key_len, const(core.stdc.stdint.uint8_t)* _staple, size_t staple_len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ocsp_staple_file
int tls_config_set_ocsp_staple_file(.tls_config* _config, const(char)* _staple_file)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_ocsp_staple_mem
int tls_config_set_ocsp_staple_mem(.tls_config* _config, const(core.stdc.stdint.uint8_t)* _staple, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_protocols
int tls_config_set_protocols(.tls_config* _config, core.stdc.stdint.uint32_t _protocols)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_session_fd
int tls_config_set_session_fd(.tls_config* _config, int _session_fd)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_session_id
int tls_config_set_session_id(.tls_config* _config, const(ubyte)* _session_id, size_t _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_session_lifetime
int tls_config_set_session_lifetime(.tls_config* _config, int _lifetime)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_set_verify_depth
int tls_config_set_verify_depth(.tls_config* _config, int _verify_depth)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_verify
void tls_config_verify(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_verify_client
void tls_config_verify_client(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_config_verify_client_optional
void tls_config_verify_client_optional(.tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_configure
int tls_configure(.tls* _ctx, .tls_config* _config)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_alpn_selected
const(char)* tls_conn_alpn_selected(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_cipher
const(char)* tls_conn_cipher(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_cipher_strength
int tls_conn_cipher_strength(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_servername
const(char)* tls_conn_servername(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_session_resumed
int tls_conn_session_resumed(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_conn_version
const(char)* tls_conn_version(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_connect
int tls_connect(.tls* _ctx, const(char)* _host, const(char)* _port)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_connect_cbs
int tls_connect_cbs(.tls* _ctx, .tls_read_cb _read_cb, .tls_write_cb _write_cb, void* _cb_arg, const(char)* _servername)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_connect_fds
int tls_connect_fds(.tls* _ctx, int _fd_read, int _fd_write, const(char)* _servername)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_connect_servername
int tls_connect_servername(.tls* _ctx, const(char)* _host, const(char)* _port, const(char)* _servername)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_connect_socket
int tls_connect_socket(.tls* _ctx, int _s, const(char)* _servername)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_default_ca_cert_file
const(char)* tls_default_ca_cert_file()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_error
const(char)* tls_error(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_free
void tls_free(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_handshake
int tls_handshake(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_init
int tls_init()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_load_file
core.stdc.stdint.uint8_t* tls_load_file(const(char)* _file, size_t* _len, char* _password)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_ocsp_process_response
int tls_ocsp_process_response(.tls* _ctx, const(ubyte)* _response, size_t _size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_chain_pem
const(core.stdc.stdint.uint8_t)* tls_peer_cert_chain_pem(.tls* _ctx, size_t* _len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_contains_name
int tls_peer_cert_contains_name(.tls* _ctx, const(char)* _name)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_hash
const(char)* tls_peer_cert_hash(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_issuer
const(char)* tls_peer_cert_issuer(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_notafter
libressl_d.compat.time.time_t tls_peer_cert_notafter(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_notbefore
libressl_d.compat.time.time_t tls_peer_cert_notbefore(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_provided
int tls_peer_cert_provided(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_cert_subject
const(char)* tls_peer_cert_subject(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_cert_status
int tls_peer_ocsp_cert_status(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_crl_reason
int tls_peer_ocsp_crl_reason(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_next_update
libressl_d.compat.time.time_t tls_peer_ocsp_next_update(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_response_status
int tls_peer_ocsp_response_status(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_result
const(char)* tls_peer_ocsp_result(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_revocation_time
libressl_d.compat.time.time_t tls_peer_ocsp_revocation_time(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_this_update
libressl_d.compat.time.time_t tls_peer_ocsp_this_update(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_peer_ocsp_url
const(char)* tls_peer_ocsp_url(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_read
libressl_d.compat.sys.types.ssize_t tls_read(.tls* _ctx, void* _buf, size_t _buflen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_reset
void tls_reset(.tls* _ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_server
.tls* tls_server()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_unload_file
void tls_unload_file(core.stdc.stdint.uint8_t* _buf, size_t len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tls_write
libressl_d.compat.sys.types.ssize_t tls_write(.tls* _ctx, const(void)* _buf, size_t _buflen)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

TLS_API
enum TLS_API;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_AA_COMPROMISE
enum TLS_CRL_REASON_AA_COMPROMISE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_AFFILIATION_CHANGED
enum TLS_CRL_REASON_AFFILIATION_CHANGED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_CA_COMPROMISE
enum TLS_CRL_REASON_CA_COMPROMISE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_CERTIFICATE_HOLD
enum TLS_CRL_REASON_CERTIFICATE_HOLD;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_CESSATION_OF_OPERATION
enum TLS_CRL_REASON_CESSATION_OF_OPERATION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_KEY_COMPROMISE
enum TLS_CRL_REASON_KEY_COMPROMISE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_PRIVILEGE_WITHDRAWN
enum TLS_CRL_REASON_PRIVILEGE_WITHDRAWN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_REMOVE_FROM_CRL
enum TLS_CRL_REASON_REMOVE_FROM_CRL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_SUPERSEDED
enum TLS_CRL_REASON_SUPERSEDED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_CRL_REASON_UNSPECIFIED
enum TLS_CRL_REASON_UNSPECIFIED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_MAX_SESSION_ID_LENGTH
enum TLS_MAX_SESSION_ID_LENGTH;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_CERT_GOOD
enum TLS_OCSP_CERT_GOOD;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_CERT_REVOKED
enum TLS_OCSP_CERT_REVOKED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_CERT_UNKNOWN
enum TLS_OCSP_CERT_UNKNOWN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_INTERNALERROR
enum TLS_OCSP_RESPONSE_INTERNALERROR;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_MALFORMED
enum TLS_OCSP_RESPONSE_MALFORMED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_SIGREQUIRED
enum TLS_OCSP_RESPONSE_SIGREQUIRED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_SUCCESSFUL
enum TLS_OCSP_RESPONSE_SUCCESSFUL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_TRYLATER
enum TLS_OCSP_RESPONSE_TRYLATER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_OCSP_RESPONSE_UNAUTHORIZED
enum TLS_OCSP_RESPONSE_UNAUTHORIZED;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOLS_ALL
enum TLS_PROTOCOLS_ALL;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOLS_DEFAULT
enum TLS_PROTOCOLS_DEFAULT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOL_TLSv1
enum TLS_PROTOCOL_TLSv1;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOL_TLSv1_0
enum TLS_PROTOCOL_TLSv1_0;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOL_TLSv1_1
enum TLS_PROTOCOL_TLSv1_1;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOL_TLSv1_2
enum TLS_PROTOCOL_TLSv1_2;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_PROTOCOL_TLSv1_3
enum TLS_PROTOCOL_TLSv1_3;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_TICKET_KEY_SIZE
enum TLS_TICKET_KEY_SIZE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_WANT_POLLIN
enum TLS_WANT_POLLIN;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
TLS_WANT_POLLOUT
enum TLS_WANT_POLLOUT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta