Expand description
RustCrypto: PKCS#7 (Cryptographic Messages)
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #7: Cryptographic Message Syntax v1.5 (RFC 5652 and RFC 8933).
🚨 DEPRECATED! 🚨
The pkcs7
crate is deprecated and will not receive further releases.
Please migrate to the following instead:
- For Cryptographic Message Syntax (CMS): use the
cms
crate. - For PKCS#7 block padding: use
block_padding::Pkcs7
See #1045 for more information.
Minimum Supported Rust Version
This crate requires Rust 1.65 at a minimum.
We may change the MSRV in the future, but it will be accompanied by a minor version bump.
License
Licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Modules
Algorithm Identifier Types
RFC 5652 § 10.1CertificateChoices
RFC 5652 10.2.2CMSVersion
RFC 5652 § 10.2.5data
content type RFC 5652 § 4encapsulated-data
content type RFC 5652 § 5.2encrypted-data
content type RFC 5652 § 8enveloped-data
content type RFC 5652 § 6RevocationInfoChoices
RFC 5652 10.2.1signed-data
content type RFC 5652 § 5SignerInfo
data type RFC 5652 § 5.3
Enums
- Content exchanged between entities RFC 5652 § 3
- Indicates the type of content.
Constants
pkcs-7 data
Object Identifier (OID).pkcs-7 digestedData
Object Identifier (OID).pkcs-7 encryptedData
Object Identifier (OID).pkcs-7 signedData
Object Identifier (OID).pkcs-7
Object Identifier (OID).pkcs-7 signedAndEnvelopedData
Object Identifier (OID).pkcs-7 signedData
Object Identifier (OID).