1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 : */
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/. */
8 #ifndef mozilla_psm_IPCClientCertsParent_h__
9 #define mozilla_psm_IPCClientCertsParent_h__
11 #include "mozilla/psm/PIPCClientCertsParent.h"
16 class SocketProcessBackgroundParent
;
21 class IPCClientCertsParent final
: public PIPCClientCertsParent
{
22 friend class mozilla::net::SocketProcessBackgroundParent
;
25 NS_INLINE_DECL_THREADSAFE_REFCOUNTING(IPCClientCertsParent
)
27 mozilla::ipc::IPCResult
RecvFindObjects(
28 nsTArray
<IPCClientCertObject
>* aObjects
);
29 mozilla::ipc::IPCResult
RecvSign(ByteArray aCert
, ByteArray aData
,
30 ByteArray aParams
, ByteArray
* aSignature
);
33 IPCClientCertsParent();
34 ~IPCClientCertsParent() = default;
38 } // namespace mozilla