1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
11 using mozilla::psm::EVStatus from "mozilla/ipc/TransportSecurityInfoUtils.h";
12 using nsITransportSecurityInfo::OverridableErrorCategory from "mozilla/ipc/TransportSecurityInfoUtils.h";
18 protocol PVerifySSLServerCert
21 // This is not an incredibly intuitive order for these arguments, as
22 // `aFinalError` is probably the most salient argument (if it is 0, the
23 // connection will proceed, regardless of the value of, e.g. `aSucceeded`).
24 // However, this ordering matches the order of the related functions in
25 // SSLServerCertVerification.{h,cpp} (minus unnecessary arguments such as
27 async OnVerifySSLServerCertFinished(ByteArray[] aBuiltCertChain,
28 uint16_t aCertTransparencyStatus,
32 OverridableErrorCategory aOverridableErrorCategory,
33 bool aIsBuiltCertChainRootBuiltInRoot,
34 bool aMadeOCSPRequests);
40 } // namespace mozilla