Attests the claim onto blockchain.
Websocket endpoint of Ontology node
gasPrice
gasLimit
payer
Private key to sign the transaction
Gets status of the claim attest.
Restful endpoint of Ontology node
Revokes claim attest from blockchain.
Websocket endpoint of Ontology node
gasPrice
gasLimit
payer
Private key to sign the transaction
Serializes the claim into JWT/JWT-X format.
Override default implementation by adding proof if available.
Serializes the header into JWT/JWT-X encoded header.
Override default implementation by adding proof if available.
Signature algorithm used
The ID of a signature public key
Serializes the proof into JWT-X.
Serializes the message without signature into JWT format.
Header might contain algorithm and public key id.
Signature algorithm used
The ID of a signature public key
Signs the message and store the signature inside the request.
If the algorithm is not specified, then default algorithm for Private key type is used.
Restful endpoint of Ontology node
The ID of a signature public key
Private key to sign the request with
Signature algorithm used
Overrides default message verification with added attest verification.
TODO: return more than boolean
const VerifyOntidClaimResult = { CLAIM_NOT_ONCHAIN : 'CLAIM_NOT_ONCHAIN', INVALID_SIGNATURE : 'INVALID_SIGNATURE', PK_IN_REVOKED : 'PK_IN_REVOKED', NO_ISSUER_PK : 'NO_ISSUER_PK', EXPIRED_CLAIM : 'EXPIRED_CLAIM', REVOKED_CLAIM : 'REVOKED_CLAIM', VALID_CLAIM : 'VALID_CLAIM' };
Restful endpoint of Ontology node
Should be the attest tested
Deserializes the message from JWT format.
A concrete instance will be creater through the message factory method. This method is called from concrete class.
Encoded message
Factory method
Generated using TypeDoc
Verifiable claim.
TODO: override verify to add claim proof verification.