Class: TencentCloud::Kms::V20190118::PostQuantumCryptoVerifyRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190118/models.rb

Overview

PostQuantumCryptoVerify请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyid = nil, signaturevalue = nil, message = nil) ⇒ PostQuantumCryptoVerifyRequest

Returns a new instance of PostQuantumCryptoVerifyRequest.



2179
2180
2181
2182
2183
# File 'lib/v20190118/models.rb', line 2179

def initialize(keyid=nil, signaturevalue=nil, message=nil)
  @KeyId = keyid
  @SignatureValue = signaturevalue
  @Message = message
end

Instance Attribute Details

#KeyIdObject

Parameters:

  • KeyId:

    密钥的唯一标识

  • SignatureValue:

    签名值,通过调用KMS PostQuantumCryptoSign签名接口生成

  • Message:

    Base64 编码的消息原文,消息原文的长度(Base64编码前的长度)不超过4096字节。



2177
2178
2179
# File 'lib/v20190118/models.rb', line 2177

def KeyId
  @KeyId
end

#MessageObject

Parameters:

  • KeyId:

    密钥的唯一标识

  • SignatureValue:

    签名值,通过调用KMS PostQuantumCryptoSign签名接口生成

  • Message:

    Base64 编码的消息原文,消息原文的长度(Base64编码前的长度)不超过4096字节。



2177
2178
2179
# File 'lib/v20190118/models.rb', line 2177

def Message
  @Message
end

#SignatureValueObject

Parameters:

  • KeyId:

    密钥的唯一标识

  • SignatureValue:

    签名值,通过调用KMS PostQuantumCryptoSign签名接口生成

  • Message:

    Base64 编码的消息原文,消息原文的长度(Base64编码前的长度)不超过4096字节。



2177
2178
2179
# File 'lib/v20190118/models.rb', line 2177

def SignatureValue
  @SignatureValue
end

Instance Method Details

#deserialize(params) ⇒ Object



2185
2186
2187
2188
2189
# File 'lib/v20190118/models.rb', line 2185

def deserialize(params)
  @KeyId = params['KeyId']
  @SignatureValue = params['SignatureValue']
  @Message = params['Message']
end