File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ but ideally it is run system-wide as [arranged by packagers](PACKAGING.md).
2222There are a number of interfaces available:
2323
2424### Command-line interface
25+
2526This is useful for monitoring, testing and alerting purposes.
2627
2728``` shell
@@ -31,6 +32,7 @@ NotRevoked
3132```
3233
3334### C-FFI interface
35+
3436This is a simple C interface to checking revocation status. The simplest use is this
3537sequence of calls:
3638
@@ -47,6 +49,15 @@ sequence of calls:
4749See [ the header] ( https://github.com/rustls/upki/blob/main/upki/upki.h ) for further
4850documentation, or [ a minimal example] ( https://github.com/rustls/upki/blob/main/upki/ffi-example/ ) .
4951
52+ ### OpenSSL integration
53+
54+ The ` upki-openssl ` library provides ` upki_openssl_verify_callback() ` which is an OpenSSL verification callback
55+ (it matches the [ ` SSL_verify_cb ` ] [ ssl-verify ] type) that performs revocation checking. You can pass this to
56+ [ ` SSL_CTX_set_verify() ` ] [ ssl-verify ] or [ ` SSL_set_verify() ` ] [ ssl-verify ] .
57+ See [ the header] ( https://github.com/rustls/upki/blob/main/upki-openssl/upki-openssl.h ) for further documentation.
58+
59+ [ ssl-verify ] : https://docs.openssl.org/3.3/man3/SSL_CTX_set_verify/
60+
5061### [ Rustls] ( https://crates.io/crates/rustls/ ) integration
5162
5263The [ ` rustls-upki ` ] ( https://crates.io/crates/rustls-upki ) crate provides a rustls
You can’t perform that action at this time.
0 commit comments