Key Series Addition
Last updated
Last updated
Once a DID is registered, its owner has the option to add more key series with did_add
operation. This operation requires another active key series to sign and verify its HTTP request. In the did_add
request, the client must specify the SHA-256 hash of the first public key in the new series must be given.
A new key series cannot be used to sign and verify its own addition.
POST
https://test-network.finema.co/did/<did_address>/key
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_add".
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.
new_key_hash
string
The SHA256 hash of the first public key in the new series.
nonce
number
The request nonce.