Class: TencentCloud::Drm::V20181115::ModifyFairPlayPemRequest

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

Overview

ModifyFairPlayPem请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pem = nil, ask = nil, fairplaypemid = nil, pemdecryptkey = nil, bailorid = nil, priority = nil) ⇒ ModifyFairPlayPemRequest



722
723
724
725
726
727
728
729
# File 'lib/v20181115/models.rb', line 722

def initialize(pem=nil, ask=nil, fairplaypemid=nil, pemdecryptkey=nil, bailorid=nil, priority=nil)
  @Pem = pem
  @Ask = ask
  @FairPlayPemId = fairplaypemid
  @PemDecryptKey = pemdecryptkey
  @BailorId = bailorid
  @Priority = priority
end

Instance Attribute Details

#AskObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def Ask
  @Ask
end

#BailorIdObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def BailorId
  @BailorId
end

#FairPlayPemIdObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def FairPlayPemId
  @FairPlayPemId
end

#PemObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def Pem
  @Pem
end

#PemDecryptKeyObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def PemDecryptKey
  @PemDecryptKey
end

#PriorityObject

请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对私钥文件中的字段进行加密,并对加密结果进行base64编码。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对Ask字符串进行加密,并对加密结果进行base64编码。openssl在生成rsa时,可能会需要设置加密密钥,请记住设置的密钥。请使用腾讯云DRM 提供的公钥,使用rsa加密算法,PKCS1填充方式对解密密钥进行加密,并对加密结果进行base64编码。该值可以不传,后台将自动分配一个优先级。



720
721
722
# File 'lib/v20181115/models.rb', line 720

def Priority
  @Priority
end

Instance Method Details

#deserialize(params) ⇒ Object



731
732
733
734
735
736
737
738
# File 'lib/v20181115/models.rb', line 731

def deserialize(params)
  @Pem = params['Pem']
  @Ask = params['Ask']
  @FairPlayPemId = params['FairPlayPemId']
  @PemDecryptKey = params['PemDecryptKey']
  @BailorId = params['BailorId']
  @Priority = params['Priority']
end