This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.
The API signature is generated using ECDSA and represented in hex through hexadecimal encoding.
The data will be signed according to the following format:
- Retrieve Biz-Timestamp (timestamp) and Biz-Resp-Signature (signature) from the callback’s HTTP header.
- Concatenate the original data from the HTTP body with the timestamp from the header to create the content to be signed.
- Retrieve Cobo’s public key from the Cobo Custody Web or through the SDKs.
- Utilize the secp256k1 elliptic curve algorithm or the verifyEcdsaSignature function from Cobo SDKs to verify whether the public key, the content to be signed, and the signature match.
