HslCertificateCreateFrom 方法 |
从证书的原始字节创建一个
HslCertificate对象,方便浏览证书的基本信息。
Create a
HslCertificate object from the original bytes of the certificate to facilitate browsing the basic information of the certificate.
命名空间:
HslCommunication.Core.Security
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.2.0.0 (12.2.0.0)
语法 public static HslCertificate CreateFrom(
byte[] hslCertificate,
byte[] pubKey = null,
byte[] priKey = null
)
Public Shared Function CreateFrom (
hslCertificate As Byte(),
Optional pubKey As Byte() = Nothing,
Optional priKey As Byte() = Nothing
) As HslCertificate
public:
static HslCertificate^ CreateFrom(
array<unsigned char>^ hslCertificate,
array<unsigned char>^ pubKey = nullptr,
array<unsigned char>^ priKey = nullptr
)
static member CreateFrom :
hslCertificate : byte[] *
?pubKey : byte[] *
?priKey : byte[]
(* Defaults:
let _pubKey = defaultArg pubKey null
let _priKey = defaultArg priKey null
*)
-> HslCertificate
参数
- hslCertificate
- 类型:SystemByte
证书信息 - pubKey (Optional)
- 类型:SystemByte
公钥对象 - priKey (Optional)
- 类型:SystemByte
私钥对象
返回值
类型:
HslCertificate证书的可描述对象
参见