@substrate-system/keys
Preparing search index...
didToPublicKey
Function didToPublicKey
didToPublicKey
(
inputDid
:
string
,
)
:
{
publicKey
:
Uint8Array
<
ArrayBuffer
>
;
type
:
"rsa"
|
"ed25519"
|
"bls12-381"
;
}
Convert a DID (did:key) to a base64 public key.
Parameters
inputDid
:
string
Returns
{
publicKey
:
Uint8Array
<
ArrayBuffer
>
;
type
:
"rsa"
|
"ed25519"
|
"bls12-381"
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@substrate-system/keys
Loading...
Convert a DID (did:key) to a base64 public key.