Retrieves data from JSON.
JSON object with data
Converts claim data to JSON for serialization.
Serializes the message into JWT format.
Serializes the header into JWT encoded header.
Signature algorithm used
The ID of a signature public key
Serializes payload part of JWT message.
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
Verifies the signature and check ownership of specified ONT ID through smart contract call.
Restful endpoint of Ontology node
Boolean if the ownership is confirmed
Verifies if the expiration date has passed
Verifies if the declared public key id belongs to issuer.
Deserializes the header from JWT encoded header.
JWT encoded header
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
Deserializes payload part of JWT message.
JWT encoded payload
Generated using TypeDoc
Common representation of Message in JWT form.