tor-browser

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

PIPCClientCerts.ipdl (1065B)


      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/. */
      5 
      6 include PSMIPCTypes;
      7 
      8 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
      9 
     10 namespace mozilla {
     11 namespace psm {
     12 
     13 [ChildProc=Socket]
     14 sync protocol PIPCClientCerts
     15 {
     16 parent:
     17   // Called from the socket process to the parent process to find client
     18   // certificates and associated keys.
     19   sync FindObjects() returns (IPCClientCertObject[] aObjects);
     20 
     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
     24   // certificate.
     25   sync Sign(ByteArray aCert, ByteArray aData, ByteArray aParams)
     26     returns (ByteArray aSignature);
     27 
     28   async __delete__();
     29 };
     30 
     31 } // namespace psm
     32 } // namespace mozilla