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