[package] name = "pkcs8" version = "0.11.0-rc.1" description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with additional support for PKCS#8v2 asymmetric key packages (RFC 5958) """ authors = ["RustCrypto Developers"] license = "Apache-2.0 OR MIT" homepage = "https://github.com/RustCrypto/formats/tree/master/pkcs8" repository = "https://github.com/RustCrypto/formats" categories = ["cryptography", "data-structures", "encoding", "no-std", "parser-implementations"] keywords = ["crypto", "key", "pkcs", "private"] readme = "README.md" edition = "2021" rust-version = "1.72" [dependencies] der = { version = "0.8.0-rc.0", features = ["oid"] } spki = { version = "0.8.0-rc.0" } # optional dependencies rand_core = { version = "0.6", optional = true, default-features = false } pkcs5 = { version = "0.8.0-rc.0", optional = true, features = ["rand_core"] } subtle = { version = "2", optional = true, default-features = false } [dev-dependencies] hex-literal = "0.4.1" tempfile = "3" [features] alloc = ["der/alloc", "der/zeroize", "spki/alloc"] std = ["alloc", "der/std", "spki/std"] 3des = ["encryption", "pkcs5/3des"] des-insecure = ["encryption", "pkcs5/des-insecure"] encryption = ["alloc", "pkcs5/alloc", "pkcs5/pbes2", "rand_core"] getrandom = ["rand_core/getrandom"] pem = ["alloc", "der/pem", "spki/pem"] sha1-insecure = ["encryption", "pkcs5/sha1-insecure"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]