Skip to content

Commit

Permalink
x509-ocsp: initial crate (#639)
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Wallace <[email protected]>
  • Loading branch information
carl-wallace and carl-wallace authored May 7, 2022
1 parent f0f2457 commit d053d25
Show file tree
Hide file tree
Showing 6 changed files with 858 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ members = [
"tai64",
"tls_codec",
"tls_codec/derive",
"x509"
"x509",
"x509-ocsp"
]

[profile.dev]
Expand Down
30 changes: 30 additions & 0 deletions x509-ocsp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "x509-ocsp"
version = "0.0.1"
description = """
Pure Rust implementation of the X.509 Internet Public Key Infrastructure
Online Certificate Status Protocol - OCSP formats as described in RFC 6960
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/formats/tree/master/x509-ocsp"
categories = ["cryptography", "data-structures", "encoding", "no-std"]
keywords = ["crypto", "x.509"]
readme = "README.md"
edition = "2021"
rust-version = "1.57"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
der = { version = "0.6.0-pre.3", features = ["oid", "derive", "alloc"], path = "../der" }
x509-cert = { version = "0.0.2", path = "../x509" }
const-oid = { version = "0.9.0", path = "../const-oid" }
spki = { version = "=0.6.0-pre.3", path = "../spki" }

[dev-dependencies]
hex-literal = "0.3"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
60 changes: 60 additions & 0 deletions x509-ocsp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# [RustCrypto]: X.509 Online Certificate Status Protocol (OCSP)

[![crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
[![Build Status][build-image]][build-link]
![Apache2/MIT licensed][license-image]
![Rust Version][rustc-image]
[![Project Chat][chat-image]][chat-link]

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

[Documentation][docs-link]

## 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.57** 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](http://www.apache.org/licenses/LICENSE-2.0)
- [MIT license](http://opensource.org/licenses/MIT)

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.

[//]: # (badges)

[crate-image]: https://img.shields.io/crates/v/x509.svg
[crate-link]: https://crates.io/crates/x509
[docs-image]: https://docs.rs/x509/badge.svg
[docs-link]: https://docs.rs/x509/
[build-image]: https://github.com/RustCrypto/formats/actions/workflows/x509.yml/badge.svg
[build-link]: https://github.com/RustCrypto/formats/actions/workflows/x509.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.57+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/300570-formats

[//]: # (links)

[RustCrypto]: https://github.com/rustcrypto
[RFC 6960]: https://datatracker.ietf.org/doc/html/rfc6960
Loading

0 comments on commit d053d25

Please sign in to comment.