Crate x509_ocsp

Source
Expand description

§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:

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.

Modules§

builderbuilder
OCSP builder module
ext
OCSP Extensions

Structs§

BasicOcspResponse
BasicOcspResponse structure as defined in RFC 6960 Section 4.2.1.
CertId
CertID structure as defined in RFC 6960 Section 4.1.1.
OcspGeneralizedTime
GeneralizedTime wrapper for easy conversion from legacy UTCTime
OcspRequest
OCSPRequest structure as defined in RFC 6960 Section 4.1.1.
OcspResponse
OCSPResponse structure as defined in RFC 6960 Section 4.2.1.
Request
Request structure as defined in RFC 6960 Section 4.1.1.
ResponseBytes
ResponseBytes structure as defined in RFC 6960 Section 4.2.1.
ResponseData
ResponseData structure as defined in RFC 6960 Section 4.2.1.
RevokedInfo
RevokedInfo structure as defined in RFC 6960 Section 4.2.1.
Signature
Signature structure as defined in RFC 6960 Section 4.1.1.
SingleResponse
SingleResponse structure as defined in RFC 6960 Section 4.2.1.
TbsRequest
TBSRequest structure as defined in RFC 6960 Section 4.1.1.

Enums§

CertStatus
CertStatus structure as defined in RFC 6960 Section 4.2.1.
OcspResponseStatus
OCSPResponseStatus structure as defined in RFC 6960 Section 4.2.1.
ResponderId
ResponderID structure as defined in RFC 6960 Section 4.2.1.
Version
OCSP Version as defined in RFC 6960 Section 4.1.1.

Traits§

AsResponseBytes
Trait for encoding ResponseBytes

Type Aliases§

OcspNoCheck
OcspNoCheck as defined in RFC 6960 Section 4.2.2.2.1.
UnknownInfo
RevokedInfo structure as defined in RFC 6960 Section 4.2.1.