Encoding Requirements
Byte Data (Signatures & Encrypted Content)
All binary data including signatures and encrypted content must be Base64 encoded before transmission. Method: Base64 encodingHTTPS URL Data
URLs must be percent-encoded before transmission to handle special characters correctly. Method: URL encoding (percent-encoding)Character Sets
Request Body
- Encoding: UTF-8
- Content-Type:
application/json; charset=UTF-8
Signature Calculation
When calculating signatures, the content to be signed must be properly encoded:1
Construct String
Build the string to sign from HTTP method, URI, headers, and body
2
Encode to Bytes
Convert the string to UTF-8 bytes
3
Sign
Apply RSA-SHA256 signature algorithm
4
Base64 Encode
Encode the binary signature as Base64