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 | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 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 | Gets the Type of the current instance. (继承自 Object。) | |
LoadFrom |
从文件的二进制数据中加载相关的参数
| |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
ToString | Returns a string that represents the current object. (继承自 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. |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |