文档中心 密钥管理服务 API文档 相关接口 解密

解密

最近更新时间:2018-10-12 17:44:24

Decrypt(解密)

解密密文

Request Parameters(请求参数)

KeyId

  • 客户主KEY的ID
  • 类型:String
  • 是否可缺省: 否

CiphertextBlob

  • 密文数据
  • 类型:Base64-encoded binary data object
  • 是否可缺省: 否

Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

KeyId

  • 客户主KEY的ID
  • 类型:String
  • 是否可缺省: 否

Plaintext

  • 明文数据,最多长度不超过4096
  • 类型:Base64-encoded binary data object
  • 是否可缺省: 否

Examples(举例)

Sample Request(请求)

http://kkms.api.ksyun.com?Action=Decrypt&Version=2016-03-04
&KeyId=aj0p6hf4-mcd3-pej3-v9i9-rq85h4a2dojs
&CiphertextBlob=/KhaumND4qw/V/LAfk04aQ==

Sample Response(返回)

<response>
    <RequestId>f30e5dde-d1dc-4fbb-87f0-1a81b6bce454</RequestId>
    <Plaintext>aaaa</Plaintext>
    <KeyId>aj0p6hf4-mcd3-pej3-v9i9-rq85h4a2dojs</KeyId>
</response>
上一篇:加密
下一篇:创建数据密钥
以上内容是否对您有帮助?
有帮助
没帮助