1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_OCSP_NSS_OCSP_H_
6 #define NET_OCSP_NSS_OCSP_H_
8 class URLRequestContext
;
12 // Initializes OCSP handlers for NSS. This must be called before any
13 // certificate verification functions. This function is thread-safe, and OCSP
14 // handlers will only ever be initialized once.
15 void EnsureOCSPInit();
17 // Set URLRequestContext for OCSP handlers.
18 void SetURLRequestContextForOCSP(URLRequestContext
* request_context
);
19 URLRequestContext
* GetURLRequestContextForOCSP();
23 #endif // NET_OCSP_NSS_OCSP_H_