tor-browser

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

IPCClientCertsParent.h (1141B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set sw=2 ts=8 et tw=80 : */
      3 
      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/. */
      7 
      8 #ifndef mozilla_psm_IPCClientCertsParent_h__
      9 #define mozilla_psm_IPCClientCertsParent_h__
     10 
     11 #include "mozilla/psm/PIPCClientCertsParent.h"
     12 
     13 namespace mozilla {
     14 
     15 namespace net {
     16 class SocketProcessBackgroundParent;
     17 }  // namespace net
     18 
     19 namespace psm {
     20 
     21 class IPCClientCertsParent final : public PIPCClientCertsParent {
     22  friend class mozilla::net::SocketProcessBackgroundParent;
     23 
     24 public:
     25  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(IPCClientCertsParent)
     26 
     27  mozilla::ipc::IPCResult RecvFindObjects(
     28      nsTArray<IPCClientCertObject>* aObjects);
     29  mozilla::ipc::IPCResult RecvSign(ByteArray aCert, ByteArray aData,
     30                                   ByteArray aParams, ByteArray* aSignature);
     31 
     32 private:
     33  IPCClientCertsParent();
     34  ~IPCClientCertsParent() = default;
     35 };
     36 
     37 }  // namespace psm
     38 }  // namespace mozilla
     39 
     40 #endif