This plugin is the Elastos implementation of W3C's Decentralized Identity specification. Decentralized identities allow users to be owner of their identities, without relying on third party providers.
Add 'DIDPlugin' as plugin name in your manifest.json in order to request permission to use this plugin.
declare let didManager: DIDPlugin.DIDManager;
Public key string representation.
A CredentialID can have the form of either a full DIDURL, or just the short form. Ex: "did:elastos:abcdef#twitter" or "#twitter"
This is the most usual format when talking about DIDs. Format: did:elastos:abcdef
A DIDURL is a DIDString with an additional fragment part. Ex: did:elastos:abcdef#my-special-use or #my-special-use.
For simplicity, generally use the short form only.
The callback function to receive the payload of createIdTransaction.
Infomation returned after parsing a DID-signed JWT.
Raw JSON data extracted from the JWT
Whether the JWT signature was signed by a DID and verified successfully or not. False if shouldVerifySignature is false.