Preparing search index...
The search index is not available
@bicycle-codes/crypto-util
@bicycle-codes/crypto-util
ecc
exportPublicKey
Function exportPublicKey
Get the public key as a Uint8Array by default, or a base64 string.
exportPublicKey
(
key
:
CryptoKey
)
:
Promise
<
Uint8Array
>
Parameters
key
:
CryptoKey
Returns
Promise
<
Uint8Array
>
exportPublicKey
(
publicKey
:
CryptoKey
,
opts
:
{
format
:
"string"
}
,
)
:
Promise
<
string
>
Parameters
publicKey
:
CryptoKey
opts
:
{
format
:
"string"
}
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...
Get the public key as a Uint8Array by default, or a base64 string.