Skip to main content

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

NameType
chainspacestring
publicKey?Buffer

Returns

Promise<DidDocument>

Defined in

packages/klayr-decentralized-identifier/dist/utils/bootstrap.d.ts:4


bootstrapEmptyDidDocument

bootstrapEmptyDidDocument(): DidDocument

Returns

DidDocument

Defined in

packages/klayr-decentralized-identifier/dist/utils/bootstrap.d.ts:3


validateDIDDocument

validateDIDDocument(did): boolean

Parameters

NameType
didDidDocument

Returns

boolean

Defined in

packages/klayr-decentralized-identifier/dist/utils/validator.d.ts:2