nss_sys/bindings/pkixc.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
5use crate::*;
6
7extern "C" {
8 pub fn VerifyCodeSigningCertificateChain(
9 certificates: *mut *const u8,
10 certificateLengths: *const u16,
11 numCertificates: size_t,
12 secondsSinceEpoch: u64,
13 rootSHA256Hash: *const u8,
14 hostname: *const u8,
15 hostnameLength: size_t,
16 error: *mut PRErrorCode,
17 ) -> bool;
18}