{"id":58018,"library":"rustls-pki-types","title":"Rustls PKI Types","description":"Shared types for the rustls PKI ecosystem, including certificates and keys.","status":"active","version":"1.14.1","language":"rust","source_language":null,"source_url":"https://github.com/rustls/pki-types","tags":["tls","pki","certificate","rustls"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrustls-pki-types = \"1.14.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rustls-pki-types","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"CertificateDer","correct":"use rustls_pki_types::CertificateDer;"}],"quickstart":{"code":"use rustls_pki_types::CertificateDer;\n\nfn main() {\n    let cert_der: CertificateDer = vec![0x30, 0x82, 0x03, 0x01, 0x02, 0x01, 0x02].into();\n    println!(\"Certificate DER length: {}\", cert_der.len());\n}","lang":"rust","description":"Creating a CertificateDer from raw bytes."},"warnings":[],"env_vars":null,"search_vec":"'certif':12,17 'ecosystem':10 'includ':11 'key':14 'pki':2,9,16 'rustl':1,8,18 'share':4 'tls':15 'type':3,5","created_at":"2026-06-16T16:08:08.894876+00:00","updated_at":"2026-06-16T16:08:08.894876+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rustls/pki-types","github":"https://github.com/rustls/pki-types","docs":"https://docs.rs/rustls-pki-types/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}