gpt4 book ai didi

Azure Keyvault Sign API - 响应正文 “value” 编码格式

转载 作者:行者123 更新时间:2023-12-03 02:44:55 48 4
gpt4 key购买 nike

当我向 Azure Key Vault Sign API 发出发布请求时:https://pkitstencryptkeyvault.vault.azure.net/keys/openssl-rbi-test/1ccc8fc0e0224bb1a65eb159e2b12df1/sign?api-version=7.0与 body :

{
"alg": "ES256",
"value": "RkQ4y5rDgxeaaOzeqeAFT3IGLAEZMz2ztbTbMNzxuMc"
}

响应是:

{
"kid": "https://pkitstencryptkeyvault.vault.azure.net/keys/openssl-rbi-test/1ccc8fc0e0224bb1a65eb159e2b12df1",
"value": "d9J4G06FRMBEKy_FJJj1PEAXhtlezvd6-3_5yo9yeYAFZ_Du583AJzqu3NMTzJAUMoKhnVBx2obnkM0gI1LnoQ"
}

我在 Azure Sign API doc 上找不到该信息.

So what is the format of the value in the response body?

我问这个是因为当我向以下地址发送验证请求时:https://pkitstencryptkeyvault.vault.azure.net/keys/openssl-rbi-test/1ccc8fc0e0224bb1a65eb159e2b12df1/verify?api-version=7.0 正文:

{
"alg": "ES256",
"value": "d9J4G06FRMBEKy_FJJj1PEAXhtlezvd6-3_5yo9yeYAFZ_Du583AJzqu3NMTzJAUMoKhnVBx2obnkM0gI1LnoQ"
}

我收到以下错误:

{
"error": {
"code": "BadParameter",
"message": "Property has invalid value\r\n"
}
}

最佳答案

虽然示例没有显示:您的验证请求正文中缺少摘要参数。该参数在 API 中定义.

关于Azure Keyvault Sign API - 响应正文 “value” 编码格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59288697/

48 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com