KeyBatchResult
Properties
| Property | Type | Description | |
|---|---|---|---|
status
| one of: 200, 400, 403, 503 | Required | How the request came out, as the HTTP status it mirrors: 200 done, carrying what the route answers; 400 refused for what the request holds; 403 refused for the key, which the caller may not use now; or 503, the key could not be reached or unlocked, so asking again may work. |
ciphertext_blob
| string (byte) | Optional | The ciphertext blob. |
error
| one of: "invalid", "context_required", "wrong_purpose", "forbidden", "disabled" | Optional | Why a request with status 400 or 403 was refused: invalid (a tampered or malformed blob, or one the context given does not decrypt), context_required (the blob was encrypted with a context and the request gave none), wrong_purpose (encrypting with a signing key, or signing with an encryption key), forbidden (no such key or version, or the caller may not use it) or disabled (the key, its version or its organization is disabled). Absent otherwise. |
Used inside