6 releases

0.1.5 Apr 1, 2025
0.1.4 Jan 29, 2025
0.1.3 May 20, 2024
0.1.2 Apr 3, 2024
0.1.1 Mar 19, 2024

#275 in Cryptography

Download history 27540/week @ 2025-01-09 28246/week @ 2025-01-16 28710/week @ 2025-01-23 33898/week @ 2025-01-30 35580/week @ 2025-02-06 28379/week @ 2025-02-13 31673/week @ 2025-02-20 29913/week @ 2025-02-27 31106/week @ 2025-03-06 31742/week @ 2025-03-13 31866/week @ 2025-03-20 28772/week @ 2025-03-27 33104/week @ 2025-04-03 32230/week @ 2025-04-10 23900/week @ 2025-04-17 25537/week @ 2025-04-24

120,950 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

40KB
854 lines

PKCS#12 library written in pure Rust

github actions crates license license docs.rs

Overview

This project contains a simple to use high-level library to work with PKCS#12/PFX keystores, written in pure Rust, modeled after Java KeyStore API.

Features:

  • Single- and multi-keychain PKCS#12
  • Support for 'truststores' with only CA root certificates
  • Modern and legacy encryption schemes
  • Able to read and write Java-compatible keystores

Limitations:

  • MD5-based encryption schemes are not supported
  • Single password is used to encrypt both private keys and certificate data in one store
  • Non-encrypted stores are not supported

Documentation

License

Licensed under MIT or Apache license (LICENSE-MIT or LICENSE-APACHE)

Dependencies

~7.5MB
~141K SLoC