NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #220 most downloaded on crates.io
Shared types for the rustls PKI ecosystem
Latest stable
1.16.0
Last release 12 days ago
10 Nov 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 26 of 33 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
33 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Behavior change for edge case inputs: DnsName now rejects names whose final label is a hex number, like 0x7f000001 or example.0x1f .
DnsName now rejects names whose final label is a hex number, like 0x7f000001 or example.0x1f.DnsName and ServerName now strip a trailing dot to canonicalize names.DnsName::into_owned() which can avoid copies.DnsName validation.DnsName::into_owned() by @ctz in #116DnsName by @ctz in #117Full Changelog: v/1.15.1...v/1.16.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
DnsName now rejects names whose final label is a hex number, like 0x7f000001 or example.0x1f.
DnsName and ServerName now strip a trailing dot to canonicalize names.DnsName::into_owned() which can avoid copies.DnsName validation.DnsName::into_owned() by @ctz in https://github.com/rustls/pki-types/pull/116DnsName by @ctz in https://github.com/rustls/pki-types/pull/117Full Changelog: https://github.com/rustls/pki-types/compare/v/1.15.1...v/1.16.0
Faster DNS name validation by @djc in #112
New feature : add a constructor for FipsStatus::Certified .
New feature: add a constructor for FipsStatus::Certified.
FipsStatus::Certified is usable by @ctz in #110Full Changelog: v/1.14.1...v/1.15.0
Parsing PEM will now error for PEM sections larger than 256 MB in size, to avoid running out of memory during parsing. The limit was chosen based on h
Parsing PEM will now error for PEM sections larger than 256 MB in size, to avoid running out of memory during parsing. The limit was chosen based on historical data from large certificate revocation lists from the web PKI.
Add FipsStatus enum by @djc in #102
Fuse PEM iterators as soon as an IO error is seen. This ensures errors are returned when decoding multiple PEM items from an std::Read which permanent
Fuse PEM iterators as soon as an IO error is seen. This ensures errors are returned when decoding multiple PEM items from an std::io::Read which permanently returns errors. This includes use of pem_file_iter() and pem_reader_iter() against directories. Fixes #98.
Full Changelog: v/1.13.2...v/1.13.3
Add algorithm id for ECDSA with secp256k1 curve by @mkmks in #96
Exclude test keys from published package by @weiznich in #92
Add From<DnsName<'a>> for ServerName<'a> by @stormshield-gt in #82
From<DnsName<'a>> for ServerName<'a> by @stormshield-gt in #82Hash for a bunch of types by @ctz in #91From<DnsName<'a>> for ServerName<'a> by @stormshield-gt in https://github.com/rustls/pki-types/pull/82Hash for a bunch of types by @ctz in https://github.com/rustls/pki-types/pull/91Implement Zeroize for private key types
Zeroize for private key typesZeroize for private key typesfeat: add const try_from_str constructor to DnsName type. by @DSharifi in #69
AlgorithmIdentifier values to here from rustls-webpki by @ctz in https://github.com/rustls/pki-types/pull/67Full Changelog: https://github.com/rustls/pki-types/compare/v/1.10.1...v/1.11.0
Fixed an issue where we failed to read PEM objects from slices without trailing newline. This failed in the PEM decoder introduced in rustls-pki-types
Fixed an issue where we failed to read PEM objects from slices without trailing newline. This failed in the PEM decoder introduced in rustls-pki-types 1.9.0 whereas it worked in rustls-pemfile 2.12.0. We now include a test to make sure this case doesn't regress again.
In 1.9.0 we forgot to implement std::Error for the new pem::Error type. Add it.
In 1.9.0 we forgot to implement std::error::Error for the new pem::Error type. Add it.
This crate now contains a stand-alone PEM decoder. This removes a dependency on the base64 crate, and also means PEM decoding of private key data is n
This crate now contains a stand-alone PEM decoder. This removes a dependency on the base64 crate, and also means PEM decoding of private key data is now done in constant time and avoids secret-dependent branches and memory accesses (at some performance cost).
The function of the rustls-pemfile crate is incorporated into this one. We will shortly make an apex release of rustls-pemfile which maintains the same API as before, using the new API in this crate.
ServerName and IpAddr by @nanoqsh in https://github.com/rustls/pki-types/pull/55EchConfigListBytes by @ctz in https://github.com/rustls/pki-types/pull/54Full Changelog: https://github.com/rustls/pki-types/compare/v/1.8.0...v/1.9.0
New const CertificateDer::from_slice() function for creating a CertificateDer instance from a slice of DER.
const CertificateDer::from_slice() function for creating a CertificateDer instance from a slice of DER.const-friendly CertificateDer::from_slice by @cpu in https://github.com/rustls/pki-types/pull/51Full Changelog: https://github.com/rustls/pki-types/compare/v/1.7.0...v/1.8.0
SubjectPublicKeyInfo was renamed to SubjectPublicKeyInfoDer, and a deprecated type alias under the old name was added.
SubjectPublicKeyInfo was renamed to SubjectPublicKeyInfoDer, and a deprecated type alias under the old name was added.SubjectPublicKeyInfo -> SubjectPublicKeyInfoDer by @cpu in https://github.com/rustls/pki-types/pull/48Full Changelog: https://github.com/rustls/pki-types/compare/v/1.6.0...v/1.7.0
Add SubjectPublicKeyInfo DER newtype by @lvkv in https://github.com/rustls/pki-types/pull/47
A new EchConfigListBytes type is added for representing TLS encoded Encrypted Client Hello (ECH) configuration lists. See draft-ietf-tls-esni-18 §4 fo
EchConfigListBytes type is added for representing TLS encoded Encrypted Client Hello (ECH) configuration lists. See draft-ietf-tls-esni-18 §4 for more information.Full Changelog: https://github.com/rustls/pki-types/compare/v/1.4.1...v/1.5.0
Relaxes PrivateKeyDer::TryFrom PKCS8 heuristic to accept RFC 5958 encodings using Version v2.
PrivateKeyDer::TryFrom PKCS8 heuristic to accept RFC 5958 encodings using Version v2.Full Changelog: https://github.com/rustls/pki-types/compare/v/1.4.0...v/1.4.1
Adds PrivateKeyDer::TryFrom for &[u8] and Vec to map DER PKCS8, PKCS1, and SEC1 inputs to the correct PrivateKeyDer variant.
PrivateKeyDer::TryFrom for &[u8] and Vec<u8> to map DER PKCS8, PKCS1, and SEC1 inputs to the correct PrivateKeyDer variant.web feature to facilitate using web-time to support the wasm32-unknown-unknown target.web-time::SystemTime for wasm32 by @DanGould in https://github.com/rustls/pki-types/pull/32Full Changelog: https://github.com/rustls/pki-types/compare/v/1.3.1...v/1.4.0
Bug fix: correct type names in Debug output for PrivateSec1KeyDer and PrivatePkcs8KeyDer types.
Debug output for PrivateSec1KeyDer and PrivatePkcs8KeyDer types.Full Changelog: https://github.com/rustls/pki-types/compare/v/1.3.0...v/1.3.1
Adds CertificateSigningRequestDer to represent a DER encoded Certificate Signing Request (CSR) as specified in RFC 2986.
CertificateSigningRequestDer to represent a DER encoded Certificate Signing Request (CSR) as specified in RFC 2986.CertificateSigningRequestDer type by @Tudyx in https://github.com/rustls/pki-types/pull/33Full Changelog: https://github.com/rustls/pki-types/compare/v/1.2.0...v/1.3.0
Allow SignatureVerificationAlgorithm to state FIPS status by @ctz in https://github.com/rustls/pki-types/pull/28
SignatureVerificationAlgorithm to state FIPS status by @ctz in https://github.com/rustls/pki-types/pull/28Full Changelog: https://github.com/rustls/pki-types/compare/v/1.1.0...v/1.2.0
Fix server_name docs by @rukai in https://github.com/rustls/pki-types/pull/22
Full Changelog: https://github.com/rustls/pki-types/compare/v/1.0.1...v/1.1.0
This release adds a ServerName::TryFrom implementation to convert a String to a ServerName<'static>.
This release adds a ServerName::TryFrom<String> implementation to convert a String to a ServerName<'static>.
Full Changelog: https://github.com/rustls/pki-types/compare/v/1.0.0...v/1.0.1
This crate provides types for representing X.509 certificates, keys and other types as commonly used in the rustls ecosystem.
This crate provides types for representing X.509 certificates, keys and other types as commonly used in the rustls ecosystem.
This is the first stable release.
AlgorithmIdentifier type by @ctz in https://github.com/rustls/pki-types/pull/6Full Changelog: https://github.com/rustls/pki-types/commits/v/1.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.