1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
14 sync protocol PIPCClientCerts
17 // Called from the socket process to the parent process to find client
18 // certificates and associated keys.
19 sync FindObjects() returns (IPCClientCertObject[] aObjects);
21 // Called from the socket process to the parent process to sign the given
22 // data with the given parameters using the key associated with the given
23 // certificate. Used when a TLS server requests a client authentication
25 sync Sign(ByteArray aCert, ByteArray aData, ByteArray aParams)
26 returns (ByteArray aSignature);
32 } // namespace mozilla