Key Series Revocation
Last updated
Last updated
A client can revoke any existing key series in a DID with did_revoke
operation by specifying the ID of the revoked key series. Similar to did_add
, this operation requires another active key series to sign and verify its HTTP request.
A private-public key pair is always required to sign and verify a request. Hence, every DID must always have at least one active key series.
A key series cannot be used to revoke itself.
DELETE
https://test-network.finema.co/did/<did_address>/key/<key_id>
Name | Type | Description |
---|---|---|
The above message can then be encoded in Base64 and signed with ECDSA to obtain the following HTTP request
operation
string
The method's name that is "did_revoke".
did_address
string
The DID address.
current_key
string
The current public key in the series. It is used to verify the request's signature.
next_key_hash
string
The SHA-256 hash of the next public key in the series.
key_id
string
The ID of the revoked key series.
nonce
number
The request nonce.