---
title: "POST /verify-pkcs1"
method: POST
path: "/verify-pkcs1"
tags: ["v2"]
---

# POST /verify-pkcs1

`POST /verify-pkcs1`

## Request body

- VerifyPKCS1
  - `display-id` string — The display id of the key to use in the verification process
  - `hash-function` string — HashFunction defines the hash function (e.g. sha-256)
  - `input-format` string — Select default assumed format for the plaintext message. Currently supported options: [base64]
  - `item-id` integer — The item id of the key to use in the verification process
  - `json` boolean — Set output format to JSON
  - `key-name` string, required — The name of the RSA key to use in the verification process
  - `message` string, required — The message to be verified
  - `prehashed` boolean — Markes that the message is already hashed
  - `signature` string, required — The message's signature
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication
  - `version` integer — The version of the key to use for verification

## Response `200`

verifyPKCS1Response wraps response body.

- VerifyPKCS1Output

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
