p12-keystore

Crates.iop12-keystore
lib.rsp12-keystore
version0.2.0
created_at2024-03-19 12:28:41.981279+00
updated_at2025-07-08 11:47:52.705223+00
descriptionConvenient API to work with PKCS#12 files
homepage
repositoryhttps://github.com/ancwrd1/p12-keystore
max_upload_size
id1179213
size135,113
Dmitry Pankratov (ancwrd1)

documentation

https://docs.rs/p12-keystore

README

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
  • Support for secret keys and generation of secret keys compatible to Java

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)

Commit count: 17

cargo fmt