Preparing search index...
The search index is not available
@xylabs/sdk-js
@xylabs/sdk-js
Crypto
RSAKeyPairOptions
Interface RSAKeyPairOptions<PubF, PrivF>
interface
RSAKeyPairOptions
<
PubF
,
PrivF
>
{
modulusLength
:
number
;
privateKeyEncoding
:
BasePrivateKeyEncodingOptions
<
PrivF
>
&
{
type
:
"pkcs1"
|
"pkcs8"
;
}
;
publicExponent
?:
number
;
publicKeyEncoding
:
{
format
:
PubF
;
type
:
"pkcs1"
|
"spki"
;
}
;
}
Type Parameters
PubF
extends
Crypto
.
KeyFormat
PrivF
extends
Crypto
.
KeyFormat
Index
Properties
modulus
Length
private
Key
Encoding
public
Exponent?
public
Key
Encoding
Properties
modulus
Length
modulus
Length
:
number
Key size in bits
private
Key
Encoding
private
Key
Encoding
:
BasePrivateKeyEncodingOptions
<
PrivF
>
&
{
type
:
"pkcs1"
|
"pkcs8"
;
}
Optional
public
Exponent
public
Exponent
?:
number
Public exponent
Default
0x10001
Copy
public
Key
Encoding
public
Key
Encoding
:
{
format
:
PubF
;
type
:
"pkcs1"
|
"spki"
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
modulus
Length
private
Key
Encoding
public
Exponent
public
Key
Encoding
@xylabs/sdk-js
Loading...
Key size in bits