4 releases

0.1.3 May 20, 2024
0.1.2 Apr 3, 2024
0.1.1 Mar 19, 2024
0.1.0 Mar 19, 2024

#871 in Cryptography

Download history 310/week @ 2024-03-19 72/week @ 2024-03-26 221/week @ 2024-04-02 96/week @ 2024-04-09 81/week @ 2024-04-16 3271/week @ 2024-04-23 4933/week @ 2024-04-30 9248/week @ 2024-05-07 10917/week @ 2024-05-14 9382/week @ 2024-05-21

35,195 downloads per month
Used in tcp-stream

MIT/Apache

41KB
938 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

~6.5MB
~126K SLoC