Methods
createPeerDID
- createPeerDID(publicKeys, services): Promise<DID>
-
Returns Promise<DID>
createPrismDID
- createPrismDID(masterPublicKey, services?): Promise<DID>
-
Returns Promise<DID>
getEcnumbasis
- getEcnumbasis(did, publicKey): string
-
Returns string
parseDID
- parseDID(did): DID
-
Returns DID
verifySignature
- verifySignature(did, challenge, signature): Promise<boolean>
-
Parameters
-
-
challenge: Uint8Array
-
signature: Uint8Array
Returns Promise<boolean>