Key Management Service API, gRPC: AsymmetricSignatureCryptoService.SignHash
Статья создана
Обновлена 17 октября 2024 г.
Signs hash value specified KMS key.
gRPC request
rpc SignHash (AsymmetricSignHashRequest) returns (AsymmetricSignHashResponse)
AsymmetricSignHashRequest
{
"keyId": "string",
"hash": "bytes"
}
Field |
Description |
keyId |
string Required field. ID of the asymmetric KMS key to use for signature. |
hash |
bytes Required field. Hash value to be signed. |
AsymmetricSignHashResponse
{
"keyId": "string",
"signature": "bytes"
}
Field |
Description |
keyId |
string ID of the asymmetric KMS key that was used for signature. |
signature |
bytes Value of signature. |