michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: #ifndef _SSLSERVERCERTVERIFICATION_H michael@0: #define _SSLSERVERCERTVERIFICATION_H michael@0: michael@0: #include "seccomon.h" michael@0: #include "prio.h" michael@0: michael@0: namespace mozilla { namespace psm { michael@0: michael@0: SECStatus AuthCertificateHook(void* arg, PRFileDesc* fd, michael@0: PRBool checkSig, PRBool isServer); michael@0: michael@0: // EnsureServerVerificationInitialized() posts an event to a cert michael@0: // verification thread to run nsINSSComponent::EnsureIdentityInfoLoaded() michael@0: // exactly once. It must be called from socket thread. michael@0: void EnsureServerVerificationInitialized(); michael@0: michael@0: } } // namespace mozilla::psm michael@0: michael@0: #endif