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

#503 in Cryptography

Download history 219/week @ 2024-04-01 92/week @ 2024-04-08 61/week @ 2024-04-15 2593/week @ 2024-04-22 4577/week @ 2024-04-29 8011/week @ 2024-05-06 11622/week @ 2024-05-13 10958/week @ 2024-05-20 12037/week @ 2024-05-27 18421/week @ 2024-06-03 15168/week @ 2024-06-10 14207/week @ 2024-06-17 19073/week @ 2024-06-24 16219/week @ 2024-07-01 19587/week @ 2024-07-08 22152/week @ 2024-07-15

77,288 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
~125K SLoC