mirror of
https://github.com/hanzo-kt/sdk.git
synced 2026-10-30 20:43:57 +00:00
Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and Android. Generated with openapi-generator kotlin (library=jvm-okhttp4, useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai. Co-authored-by: Hanzo Dev <[email protected]>
941 B
941 B
KmsSdkEnvelope
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| v | kotlin.Int | Envelope version. Only 1 is accepted. | |
| id | KmsSdkEnvelopeIdentity | ||
| ts | kotlin.Long | Unix seconds at signing. Rejected outside ±5m of server time. | |
| nonce | kotlin.String | Caller-fresh anti-replay nonce (typically 16 random bytes, base64). Reuse within the window is rejected. | |
| op | kotlin.Int | Signed operation. 0x0040 get, 0x0041 put (also rotate), 0x0042 list, 0x0043 delete, 0x0050 sign, 0x0051 verify. | |
| req | kotlin.Any | Inner request JSON. Shape by op — secrets:{path,name,env[,value]}; sign:{validator_id,key_type,message}; verify adds {signature}. | |
| sig | kotlin.ByteArray | ML-DSA-65 signature (base64) over the canonical digest. |