Search

Lib.rs

› Cryptography
#x509-certificate #public-key #x509

no-std x509-ocsp

Pure Rust implementation of the X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP formats as described in RFC 6960

by RustCrypto Developers. Owned by Tony Arcieri.

  • Install
  • API reference
  • GitHub repo (rustcrypto)

3 releases (breaking)

0.2.1 Jan 8, 2024
0.2.0 Jan 4, 2024
0.1.0-pre.0 May 9, 2022
0.0.0 Feb 5, 2022

#2950 in Cryptography

Download history 4473/week @ 2025-12-30 6859/week @ 2026-01-06 5242/week @ 2026-01-13 6693/week @ 2026-01-20 7823/week @ 2026-01-27 8219/week @ 2026-02-03 6838/week @ 2026-02-10 8000/week @ 2026-02-17 9720/week @ 2026-02-24 10024/week @ 2026-03-03 8835/week @ 2026-03-10 10332/week @ 2026-03-17 8395/week @ 2026-03-24 7791/week @ 2026-03-31 7966/week @ 2026-04-07 11419/week @ 2026-04-14

39,001 downloads per month
Used in 6 crates (2 directly)

Apache-2.0 OR MIT

1MB
20K SLoC

RustCrypto: X.509 Online Certificate Status Protocol (OCSP)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP formats as described in RFC 6960.

Documentation

Status

tl;dr: not ready to use.

This is a work-in-progress implementation which is at an early stage of development.

Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

  • Apache License, Version 2.0
  • MIT license

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~245–760KB
~17K SLoC

  • const-oid+db
  • der+alloc+derive+oid
  • builder? digest+oid
  • builder? signature+digest+rand_core
  • rand? rand_core 0.6.4
  • spki+alloc
  • x509-cert
  • dev hex-literal 0.4.1
  • dev lazy_static
  • dev rand 0.8.5
  • dev rsa+sha2
  • dev sha1+oid
  • dev sha2+oid

Other feature

  • std
Related: pkcs5, pkcs8, x509-tsp, spki, x509-cert, base16ct, base32ct, base64ct, cmpv2, cms, const-oid, crmf, der, der_derive, der_derive, gss-api, mcf, pem-rfc7468, pkcs1, phc
See also: x509-parser, x509-certificate, rustls-pki-types, spiffe, picky-asn1-x509, picky, webpki-root-certs

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.