Skip to content

ProblemDetails

Namespace CryptoService.Sdk.

An RFC 9457 problem (application/problem+json), as crypto-server answers every error.

Methods

Blank(Int32, String)

The problem for an answer that carried none: about:blank, the reason phrase as title, and the status.

Parameter Description
status The HTTP status code.
reasonPhrase The HTTP reason phrase, or null.

Returns: The about:blank problem.

Properties

Code

The error code from crypto-lib, the key store or a KMS provider, for example INVALID_HEX or KEY_NOT_FOUND.

Detail

An explanation of this occurrence.

Errors

Each field that failed validation (validation-failed).

Extensions

Any other member the problem carries, by name.

Instance

The request path, without the query string.

Limit

Requests a tenant may make per minute (rate-limited).

ResetSeconds

Seconds until the tenant quota resets (rate-limited).

Status

The HTTP status code.

Title

A short summary of the problem type.

Type

The problem type: urn:crypto-service:problem:<slug> from the server, stable and machine-readable; about:blank when the answer carried no problem.

All types