tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsskeys.h (592B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 // Utilities to pull in OpenSSL-formatted keys.
      8 
      9 #ifndef nsskeys_h_
     10 #define nsskeys_h_
     11 
     12 #include "cert.h"
     13 #include "keyhi.h"
     14 
     15 #include <string>
     16 
     17 SECKEYPrivateKey* ReadPrivateKey(const std::string& file);
     18 CERTCertificate* ReadCertificate(const std::string& file);
     19 
     20 #endif