[package] name = "x509-verify" version = "0.4.6" description = """ Pure Rust library that verifies X.509 signatures based on the algorithm identifiers """ authors = ["Brian Hession"] license = "Apache-2.0 OR MIT" repository = "https://github.com/bhesh/x509-verify/" categories = ["cryptography", "no-std"] keywords = ["crypto", "x509"] readme = "README.md" edition = "2021" rust-version = "1.75" [dependencies] const-oid = { version = "0.9.6", default-features = false, features = ["db"] } der = { version = "0.7.9", default-features = false, features = ["derive", "oid"] } signature = { version = "2.2.0", default-features = false, features = ["digest"] } spki = { version = "0.7.3", default-features = false, features = ["alloc"] } # optional dependencies md2 = { version = "0.10.2", optional = true, default-features = false, features = ["oid"] } md-5 = { version = "0.10.6", optional = true, default-features = false, features = ["oid"] } sha1 = { version = "0.10.6", optional = true, default-features = false, features = ["oid"] } sha2 = { version = "0.10.8", optional = true, default-features = false, features = ["oid"] } rsa = { version = "0.9.6", optional = true, default-features = false } dsa = { version = "0.6.3", optional = true, default-features = false } ecdsa = { version = "0.16.9", optional = true, default-features = false, features = ["verifying"] } k256 = { version = "0.13.3", optional = true, default-features = false, features = ["ecdsa"] } p192 = { version = "0.13.0", optional = true, default-features = false, features = ["ecdsa"] } p224 = { version = "0.13.2", optional = true, default-features = false, features = ["ecdsa"] } p256 = { version = "0.13.2", optional = true, default-features = false, features = ["ecdsa"] } p384 = { version = "0.13.0", optional = true, default-features = false, features = ["ecdsa"] } ed25519-dalek = { version = "2.1.1", optional = true, default-features = false } x509-cert = { version = "0.2.5", optional = true, default-features = false } x509-ocsp = { version = "0.2.1", optional = true, default-features = false } [dev-dependencies] x509-cert = { version = "0.2.4", default-features = false, features = ["pem"] } [features] default = ["sha2", "rsa", "k256", "p256", "p384", "ed25519"] md2 = ["dep:md2"] md5 = ["dep:md-5"] sha1 = ["dep:sha1"] sha2 = ["dep:sha2"] dsa = ["dep:dsa"] rsa = ["dep:rsa"] k256 = ["sha2", "dep:ecdsa", "dep:k256"] p192 = ["sha2", "dep:ecdsa", "dep:p192"] p224 = ["sha2", "dep:ecdsa", "dep:p224"] p256 = ["sha2", "dep:ecdsa", "dep:p256"] p384 = ["sha2", "dep:ecdsa", "dep:p384"] ecdsa = ["k256", "p192", "p224", "p256", "p384"] ed25519 = ["sha2", "dep:ed25519-dalek"] x509 = ["dep:x509-cert", "dep:x509-ocsp"] pem = ["x509", "der/pem", "x509-cert?/pem"] std = ["x509-cert?/std"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]