Preparing search index...
The search index is not available
@bicycle-codes/crypto-util
@bicycle-codes/crypto-util
rsa
exportKey
Function exportKey
Get a public key from the given keypair.
Param: keys
The keypair to extract the public key from
Returns
The public key
exportKey
(
key
:
CryptoKey
)
:
Promise
<
Uint8Array
>
Parameters
key
:
CryptoKey
Returns
Promise
<
Uint8Array
>
exportKey
(
key
:
CryptoKey
,
opts
:
{
format
:
"string"
}
)
:
Promise
<
string
>
Parameters
key
:
CryptoKey
opts
:
{
format
:
"string"
}
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...
Get a public key from the given keypair.
Param: keys
The keypair to extract the public key from
Returns
The public key