Apoorv Kothari
ea1d120912
pr comments: safety, receive multiple nst, return status refactor
2025-10-01 11:00:57 +01:00
Apoorv Kothari
c49282f112
Add set_ticket_key_callback (SSL_CTX_set_tlsext_ticket_key_cb)
...
Add a wrapper for the `SSL_CTX_set_tlsext_ticket_key_cb`, which allows
consumers to configure the EVP_CIPHER_CTX and HMAC_CTX used for
encrypting/decrypting session tickets.
See https://docs.openssl.org/1.0.2/man3/SSL_CTX_set_tlsext_ticket_key_cb/
for more details.
2025-10-01 11:00:57 +01:00
Kornel
9bad96e48b
Style nits
2025-09-26 13:33:19 +01:00
Kornel
79338a99ea
CStr UTF-8 improvements
2025-09-26 10:55:46 +01:00
Kornel
4d178a7f9f
Clippy
2025-06-05 10:16:08 +01:00
Yury Yarashevich
5268f63a77
Expose API to enable certificate compression. ( #241 )
2025-02-27 15:09:07 +00:00
James Larisch
bb373e5550
Add `set_cert_verify_callback` (`SSL_CTX_set_cert_verify`)
...
Add a wrapper for `SSL_CTX_set_cert_verify`, which allows consumers to
override the default certificate verification behavior.
The binding resembles `SSL_CTX_set_verify`'s.
See
https://docs.openssl.org/master/man3/SSL_CTX_set_cert_verify_callback/
for more details.
2024-10-22 00:05:57 -07:00
Evan Rittenhouse
b2525f2ed2
Expose SSL_CTX_set_info_callback ( #266 )
...
Model callback arguments as structs
2024-09-11 10:35:51 +02:00
Anthony Ramine
72f4bf5724
Introduce set_custom_verify_callback and set_async_custom_verify_callback
2023-12-14 16:31:09 +01:00
Anthony Ramine
8a26577b5d
Allow returning GetSessionPendingError from get session callbacks
2023-10-25 10:25:55 +01:00
Anthony Ramine
0ffbdb030f
Implement SslContextBuilder::set_private_key_method
2023-10-10 09:22:36 +01:00
Anthony Ramine
61bfbb5bd6
Change signature for set_select_certificate_callback
...
To handle lifetimes better and allow returning a &mut SslRef from
the client hello struct passed to the closure from
SslContextBuilder::set_select_certificate_callback, we make
the ClientHello struct itself own a reference to the FFI
client hello struct.
2023-10-10 09:22:36 +01:00
Ivan Nikulin
011d500460
Separate `fips` and `fips-link-precompiled` features.
...
Make the later compatible with `rpk` feature.
2023-08-30 11:41:20 +01:00
Anthony Ramine
abfe2f7980
Switch boring from lazy_static to once_cell
2023-08-02 12:14:02 +01:00
Anthony Ramine
af5bb39a78
Clean up and remove some unsafe code from ffi callbacks
2023-08-02 12:14:02 +01:00
Joshua Nelson
46787b7b69
Run `cargo fix --edition
2021-08-13 15:22:56 -05:00
Anthony Ramine
9c5c7e3db5
Introduce set_select_certificate_callback
2021-02-19 16:11:14 +01:00
Ivan Nikulin
5cb8947d7e
Rename stuff
2020-11-11 17:47:30 +00:00