[package]
edition = "2021"
rust-version = "1.73"
name = "pkix-revocation"
version = "0.3.3"
authors = ["Mark Atwood <mark@reviewcommit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Certificate revocation checking (CRL, OCSP) for pkix-path"
readme = "README.md"
keywords = [
"x509",
"certificate",
"crl",
"ocsp",
"pki",
]
categories = ["cryptography"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/MarkAtwood/crate-pkix"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
crl = ["std"]
default = []
ocsp = [
"std",
"dep:x509-ocsp",
"dep:sha1",
"dep:sha2",
]
serde = [
"dep:serde",
"pkix-path/serde",
]
std = [
"der/std",
"pkix-path/std",
]
[lib]
name = "pkix_revocation"
path = "src/lib.rs"
[[test]]
name = "crl_checker_tests"
path = "tests/crl_checker_tests.rs"
required-features = ["crl"]
[[test]]
name = "ocsp_checker_tests"
path = "tests/ocsp_checker_tests.rs"
required-features = ["ocsp"]
[[test]]
name = "pkits_4_5"
path = "tests/pkits_4_5.rs"
required-features = ["crl"]
[[test]]
name = "pkits_crl"
path = "tests/pkits_crl.rs"
required-features = ["crl"]
[[test]]
name = "serde_round_trip"
path = "tests/serde_round_trip.rs"
required-features = ["serde"]
[dependencies.der]
version = "0.7"
[dependencies.pkix-path]
version = "0.3.2"
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[dependencies.sha1]
version = "0.10"
features = ["oid"]
optional = true
default-features = false
[dependencies.sha2]
version = "0.10"
features = ["oid"]
optional = true
default-features = false
[dependencies.spki]
version = "0.7"
[dependencies.x509-cert]
version = "0.2"
[dependencies.x509-ocsp]
version = "0.2"
optional = true
[dev-dependencies.der]
version = "0.7"
[dev-dependencies.pkix-path]
version = "0.3.2"
features = [
"rsa",
"p256",
"std",
]
[dev-dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.x509-cert]
version = "0.2"