Sign
    • PDF

    Sign

    • PDF

    Article Summary

    Overview

    Creates a signature of up to 8 KB data, with the specified master key (private key). (Usually, you need to pass the hash value of the data to sign.) Only a key type for signature and verification can be specified.

    POST https://kms.apigw.ntruss.com/keys/v1/{keyTag}/sign
    POST https://kms.apigw.ntruss.com/keys/v2/{keyTag}/sign
    

    Request

    Request parameters

    ParameterTypeRequiredDescription
    keyTagStringYTag of the master key for signature.

    Request body

    {
      "data" : string
    }
    
    ParameterTypeRequiredDescription
    dataStringYData to create a signature (up to 8 KB)
    (It needs to be Base64-encoded.)

    Response

    Response body

    {
      "signature" : string
    }
    
    FieldTypeDescription
    signatureStringSignature
    (It consists of a KMS prefix and a Base64-encoded signature.)

    Roles

    Manager, Encryptor, Encryptor/Decryptor


    Was this article helpful?

    What's Next
    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.