Verify
    • PDF

    Verify

    • PDF

    Article summary

    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 nameTypeDescription
    keyTagString (Required)Tag value of the master key to use for the signature validation

    Request body

    {
      "data" : string,
      "signature" : string
    }
    
    Parameter nameTypeDescription
    dataString (Required)- Data to generate the signature value (up to 8 KB)
    Need to be Base64-encoded
    signatureString (Required)- Signature value data
    Consist of a KMS prefix and a Base64-encoded signature value

    Response

    Response body

    {
      "valid" : boolean
    }
    
    Parameter nameTypeDescription
    validbooleanValidation comparison result

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.