nss/
lib.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5#![allow(unknown_lints)]
6#![warn(rust_2018_idioms)]
7#[macro_use]
8mod util;
9pub mod aes;
10pub mod cert;
11pub mod ec;
12pub mod ecdh;
13mod error;
14pub mod pbkdf2;
15pub mod pk11;
16pub mod pkixc;
17pub mod secport;
18pub use crate::error::{Error, ErrorKind, Result};
19pub use util::assert_nss_initialized as assert_initialized;
20pub use util::ensure_nss_initialized as ensure_initialized;
21
22#[cfg(feature = "keydb")]
23pub use util::ensure_nss_initialized_with_profile_dir as ensure_initialized_with_profile_dir;