Crate pkcs7

Source
Expand description

§RustCrypto: PKCS#7 (Cryptographic Messages)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #7: Cryptographic Message Syntax v1.5 (RFC 5652 and RFC 8933).

Documentation

§🚨 DEPRECATED! 🚨

The pkcs7 crate is deprecated and will not receive further releases.

Please migrate to the following instead:

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
Algorithm Identifier Types RFC 5652 § 10.1
certificate_choices
CertificateChoices RFC 5652 10.2.2
cms_version
CMSVersion RFC 5652 § 10.2.5
data_content
data content type RFC 5652 § 4
encapsulated_content_info
encapsulated-data content type RFC 5652 § 5.2
encrypted_data_content
encrypted-data content type RFC 5652 § 8
enveloped_data_content
enveloped-data content type RFC 5652 § 6
revocation_info_choices
RevocationInfoChoices RFC 5652 10.2.1
signed_data_content
signed-data content type RFC 5652 § 5
signer_info
SignerInfo data type RFC 5652 § 5.3

Enums§

ContentInfo
Content exchanged between entities RFC 5652 § 3
ContentType
Indicates the type of content.

Constants§

PKCS_7_DATA_OID
pkcs-7 data Object Identifier (OID).
PKCS_7_DIGESTED_DATA_OID
pkcs-7 digestedData Object Identifier (OID).
PKCS_7_ENCRYPTED_DATA_OID
pkcs-7 encryptedData Object Identifier (OID).
PKCS_7_ENVELOPED_DATA_OID
pkcs-7 signedData Object Identifier (OID).
PKCS_7_OID
pkcs-7 Object Identifier (OID).
PKCS_7_SIGNED_AND_ENVELOPED_DATA_OID
pkcs-7 signedAndEnvelopedData Object Identifier (OID).
PKCS_7_SIGNED_DATA_OID
pkcs-7 signedData Object Identifier (OID).