#![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_qualifications
)]
use const_oid::ObjectIdentifier;
extern crate alloc;
pub mod authenticated_safe;
pub mod bag_type;
pub mod cert_type;
pub mod crl_type;
pub mod digest_info;
pub mod mac_data;
pub mod pbe_params;
pub mod pfx;
pub mod safe_bag;
#[cfg(feature = "kdf")]
pub mod kdf;
pub const PKCS_12_PBE_WITH_SHAAND128_BIT_RC4: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.1");
pub const PKCS_12_PBE_WITH_SHAAND40_BIT_RC4: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.2");
pub const PKCS_12_PBE_WITH_SHAAND3_KEY_TRIPLE_DES_CBC: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.3");
pub const PKCS_12_PBE_WITH_SHAAND2_KEY_TRIPLE_DES_CBC: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.4");
pub const PKCS_12_PBE_WITH_SHAAND128_BIT_RC2_CBC: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.5");
pub const PKCS_12_PBEWITH_SHAAND40_BIT_RC2_CBC: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.6");
pub const PKCS_12_KEY_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.1");
pub const PKCS_12_PKCS8_KEY_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.2");
pub const PKCS_12_CERT_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.3");
pub const PKCS_12_CRL_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.4");
pub const PKCS_12_SECRET_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.5");
pub const PKCS_12_SAFE_CONTENTS_BAG_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1.6");
pub const PKCS_12_X509_CERT_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.9.22.1");
pub const PKCS_12_SDSI_CERT_OID: ObjectIdentifier =
ObjectIdentifier::new_unwrap("1.2.840.113549.1.9.22.2");