Preparing search index...
The search index is not available
@bicycle-codes/crypto-util
@bicycle-codes/crypto-util
rsa
importDid
Function importDid
importDid
(
did
:
`
did:key:z
${
string
}
`
,
hashAlgorithm
?:
HashAlg
,
use
?:
KeyUse
,
)
:
Promise
<
PublicKey
>
Convert the given DID string to a public key.
Parameters
did
:
`
did:key:z
${
string
}
`
hashAlgorithm
:
HashAlg
= DEFAULT_HASH_ALGORITHM
use
:
KeyUse
= KeyUse.Sign
Returns
Promise
<
PublicKey
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/crypto-util
Loading...
Convert the given DID string to a public key.