mod.rs (988B)
1 // Copyright 2022 Adobe. All rights reserved. 2 // This file is licensed to you under the Apache License, 3 // Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) 4 // or the MIT license (http://opensource.org/licenses/MIT), 5 // at your option. 6 7 // Unless required by applicable law or agreed to in writing, 8 // this software is distributed on an "AS IS" BASIS, WITHOUT 9 // WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or 10 // implied. See the LICENSE-MIT and LICENSE-APACHE files for the 11 // specific language governing permissions and limitations under 12 // each license. 13 14 #[cfg(target_arch = "wasm32")] 15 pub(crate) mod context; 16 #[cfg(target_arch = "wasm32")] 17 pub(crate) mod util; 18 #[cfg(target_arch = "wasm32")] 19 pub(crate) mod webcrypto_validator; 20 #[cfg(target_arch = "wasm32")] 21 pub use webcrypto_validator::validate_async; 22 #[cfg(target_arch = "wasm32")] 23 pub(crate) mod webpki_trust_handler; 24 #[cfg(target_arch = "wasm32")] 25 pub(crate) use webpki_trust_handler::WebTrustHandlerConfig;