aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcrypto/CryptoRsaKeyAlgorithm.idl
blob: 2073153586c4c2b43c7309d45a4f2ca3d86fc113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Copyright (C) 2017 Apple Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */

typedef Uint8Array BigInteger;

[
    Conditional=WEB_CRYPTO,
    JSGenerateToJSObject
] dictionary CryptoRsaKeyAlgorithm : CryptoKeyAlgorithm {
    // The length, in bits, of the RSA modulus
    required unsigned long modulusLength;
    // The RSA public exponent
    required BigInteger publicExponent;
};
4cd059eecc324102&follow=1'>Fix failing spawn() and spawnSync() testsGravatar Jarred Sumner 7-143/+317 cc @ThatOneBro 2022-11-28Update README.mdGravatar Jarred Sumner 1-1/+26 2022-11-28Update README.mdGravatar Jarred Sumner 1-5/+5 2022-11-28Add small section about profiling bunGravatar Jarred Sumner 1-0/+171 2022-11-28Fix hanging in FIFO streamsGravatar Jarred Sumner 1-1/+2 2022-11-28[internal] Add debug timerGravatar Jarred Sumner 2-2/+33 2022-11-28Ensure we report errors in controller.closeGravatar Jarred Sumner 1-1/+9 2022-11-28Update JSEnvironmentVariableMap.cppGravatar Jarred Sumner 1-1/+1 2022-11-28Allow overriding node:fsGravatar Jarred Sumner 1-0/+9 2022-11-28Add test for processGravatar Jarred Sumner 1-3/+14 2022-11-28Fix process.env and Bun.env object spreadGravatar Jarred Sumner 8-204/+127 Fixes https://github.com/oven-sh/bun/issues/1512 2022-11-27Fix `console.log(process.env)`Gravatar Jarred Sumner 2-20/+27