#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
)]
#![forbid(unsafe_code)]
#![warn(
clippy::mod_module_files,
clippy::unwrap_used,
missing_docs,
rust_2018_idioms,
unused_lifetimes,
unused_qualifications
)]
pub mod algorithm_identifier_types;
pub mod certificate_choices;
pub mod cms_version;
pub mod data_content;
pub mod encapsulated_content_info;
pub mod encrypted_data_content;
pub mod enveloped_data_content;
pub mod revocation_info_choices;
pub mod signed_data_content;
pub mod signer_info;
mod content_info;
mod content_type;
pub use crate::{content_info::ContentInfo, content_type::ContentType};
use der::asn1::ObjectIdentifier;
pub const PKCS_7_OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("1.2.840.113549.1.7");
pub const PKCS_7_DATA_OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.1");
pub const PKCS_7_SIGNED_DATA_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.2");
pub const PKCS_7_ENVELOPED_DATA_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.3");
pub const PKCS_7_SIGNED_AND_ENVELOPED_DATA_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.4");
pub const PKCS_7_DIGESTED_DATA_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.5");
pub const PKCS_7_ENCRYPTED_DATA_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.7.6");