Namespace: utils
did.utils
Namespaces
Variables
contextsBySuite
• Const
contextsBySuite: Map
<string
, any
>
Defined in
packages/klayr-decentralized-identifier/dist/utils/context.d.ts:1
Functions
bootstrapAddressDidDocument
▸ bootstrapAddressDidDocument(chainspace
, publicKey?
): Promise
<DidDocument
>
Parameters
Name | Type |
---|---|
chainspace | string |
publicKey? | Buffer |
Returns
Promise
<DidDocument
>
Defined in
packages/klayr-decentralized-identifier/dist/utils/bootstrap.d.ts:4
bootstrapEmptyDidDocument
▸ bootstrapEmptyDidDocument(): DidDocument
Returns
Defined in
packages/klayr-decentralized-identifier/dist/utils/bootstrap.d.ts:3
validateDIDDocument
▸ validateDIDDocument(did
): boolean
Parameters
Name | Type |
---|---|
did | DidDocument |
Returns
boolean
Defined in
packages/klayr-decentralized-identifier/dist/utils/validator.d.ts:2