Crate pkcs5[][src]

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #5:

Password-Based Cryptography Specification Version 2.1 (RFC 8018)

Minimum Supported Rust Version

This crate requires Rust 1.47 at a minimum.

Usage

The main API for this crate is the EncryptionScheme enum, which impls the Decodable and Encodable traits from the der crate, and can be used for decoding/encoding PKCS#5 AlgorithmIdentifier fields.

Re-exports

pub use der;

Modules

pbes1

Password-Based Encryption Scheme 1 as defined in RFC 8018 Section 6.1.

pbes2

Password-Based Encryption Scheme 2 as defined in RFC 8018 Section 6.2.

Structs

AlgorithmIdentifier

X.509 AlgorithmIdentifier as defined in RFC 5280 Section 4.1.1.2.

Error

Error type.

ObjectIdentifier

Object identifier (OID).

Enums

EncryptionScheme

Supported PKCS#5 password-based encryption schemes.

Type Definitions

Result

Result type.