Skip to content

Commit 1aac2dc

Browse files
committed
README.md: mention upki-openssl
1 parent ce7365e commit 1aac2dc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ but ideally it is run system-wide as [arranged by packagers](PACKAGING.md).
2222
There are a number of interfaces available:
2323

2424
### Command-line interface
25+
2526
This is useful for monitoring, testing and alerting purposes.
2627

2728
```shell
@@ -31,6 +32,7 @@ NotRevoked
3132
```
3233

3334
### C-FFI interface
35+
3436
This is a simple C interface to checking revocation status. The simplest use is this
3537
sequence of calls:
3638

@@ -47,6 +49,15 @@ sequence of calls:
4749
See [the header](https://github.com/rustls/upki/blob/main/upki/upki.h) for further
4850
documentation, 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

5263
The [`rustls-upki`](https://crates.io/crates/rustls-upki) crate provides a rustls

0 commit comments

Comments
 (0)