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