nsskeys.h 592 B

123456789101112131415161718192021
  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. // Utilities to pull in OpenSSL-formatted keys.
  7. #ifndef nsskeys_h_
  8. #define nsskeys_h_
  9. #include "cert.h"
  10. #include "keyhi.h"
  11. #include <string>
  12. SECKEYPrivateKey* ReadPrivateKey(const std::string& file);
  13. CERTCertificate* ReadCertificate(const std::string& file);
  14. #endif