Class: TencentCloud::Sslpod::V20190605::CertInfo

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

Overview

证书信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash = nil, cn = nil, sans = nil, keyalgo = nil, issuer = nil, begintime = nil, endtime = nil, days = nil, brand = nil, truststatus = nil, certtype = nil) ⇒ CertInfo

Returns a new instance of CertInfo.



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/v20190605/models.rb', line 48

def initialize(hash=nil, cn=nil, sans=nil, keyalgo=nil, issuer=nil, begintime=nil, endtime=nil, days=nil, brand=nil, truststatus=nil, certtype=nil)
  @Hash = hash
  @CN = cn
  @SANs = sans
  @KeyAlgo = keyalgo
  @Issuer = issuer
  @BeginTime = begintime
  @EndTime = endtime
  @Days = days
  @Brand = brand
  @TrustStatus = truststatus
  @CertType = certtype
end

Instance Attribute Details

#BeginTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def BeginTime
  @BeginTime
end

#BrandObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def Brand
  @Brand
end

#CertTypeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def CertType
  @CertType
end

#CNObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def CN
  @CN
end

#DaysObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def Days
  @Days
end

#EndTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def EndTime
  @EndTime
end

#HashObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def Hash
  @Hash
end

#IssuerObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def Issuer
  @Issuer
end

#KeyAlgoObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def KeyAlgo
  @KeyAlgo
end

#SANsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def SANs
  @SANs
end

#TrustStatusObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Hash:

    证书sha1

  • CN:

    证书通用名称

  • SANs:

    备用名称

  • KeyAlgo:

    公钥算法

  • Issuer:

    颁发者

  • BeginTime:

    有效期开始

  • EndTime:

    有效期结束

  • Days:

    剩余天数

  • Brand:

    品牌

  • TrustStatus:

    信任状态

  • CertType:

    证书类型



46
47
48
# File 'lib/v20190605/models.rb', line 46

def TrustStatus
  @TrustStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/v20190605/models.rb', line 62

def deserialize(params)
  @Hash = params['Hash']
  @CN = params['CN']
  @SANs = params['SANs']
  @KeyAlgo = params['KeyAlgo']
  @Issuer = params['Issuer']
  @BeginTime = params['BeginTime']
  @EndTime = params['EndTime']
  @Days = params['Days']
  @Brand = params['Brand']
  @TrustStatus = params['TrustStatus']
  @CertType = params['CertType']
end