点击或拖拽改变大小

HslCertificate 方法

HslCertificate 类型公开以下成员。

方法
  名称说明
公共方法静态成员CreateFrom
从证书的原始字节创建一个HslCertificate对象,方便浏览证书的基本信息。
Create a HslCertificate object from the original bytes of the certificate to facilitate browsing the basic information of the certificate.
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetSaveBytes
获取当前证书的原始字节信息,可以存储到文件中,必须提供私钥信息,否则无法进行签名的操作
Gets the raw byte information of the current certificate, which can be stored in a file, and the private key information must be provided, otherwise the signing operation cannot be performed
公共方法GetType (继承自 Object。)
公共方法LoadFrom
从文件的二进制数据中加载相关的参数
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToString (继承自 Object。)
公共方法静态成员VerifyCer
使用给定的公钥,校验当前的证书是否合法的,如果公钥为 null,则直接校验证书本身是否合法。
Use the given public key to verify whether the current certificate is valid, and if the public key is null, directly verify whether the certificate itself is valid.
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见