Verify
- Print
- PDF
Verify
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Compare the signature value against up to 8 KB of data with a specified master key (public key) and return a match (typically passing a hash value of the data to be validated). The request can only be made with the key type used for signature/validation.
POST https://kms.apigw.ntruss.com/keys/v1/{keyTag}/verify
POST https://kms.apigw.ntruss.com/keys/v2/{keyTag}/verify
Request
Request parameters
Parameter name | Type | Description |
---|---|---|
keyTag | String (Required) | Tag value of the master key to use for the signature validation |
Request body
{
"data" : string,
"signature" : string
}
Parameter name | Type | Description |
---|---|---|
data | String (Required) | - Data to generate the signature value (up to 8 KB) Need to be Base64-encoded |
signature | String (Required) | - Signature value data Consist of a KMS prefix and a Base64-encoded signature value |
Response
Response body
{
"valid" : boolean
}
Parameter name | Type | Description |
---|---|---|
valid | boolean | Validation comparison result |
Was this article helpful?