1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
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/. */
15 // For ECKey, RSAKey, and Certificate, slotType indicates which slot this object
17 // 1: modern (supports EC, RSA-PSS)
18 // 2: legacy (only supports RSA PKCS#1v1.5)
21 uint8_t[] params; // the EC point representing this key
22 uint8_t[] cert; // the encoded certificate containing this key
27 uint8_t[] modulus; // the modulus of this RSA key
28 uint8_t[] cert; // the encoded certificate containing this key
33 uint8_t[] der; // the encoding of this certificate
37 // Helper type for sending keys and certificates over IPC for use by IPC client
39 union IPCClientCertObject{
45 struct DelegatedCredentialInfoArg {
51 } // namespace mozilla