System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType 方法

X509Certificate2::GetCertContentType(const ByteArrayPtr&) method

获取指定字节数组中包含的证书类型。

static X509ContentType System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType(const ByteArrayPtr &raw_data)
参数类型描述
raw_dataconst ByteArrayPtr&证书数据。

ReturnValue

X.509 证书的类型。

另见

X509Certificate2::GetCertContentType(const String&) method

获取指定文件中包含的证书类型。

static X509ContentType System::Security::Cryptography::X509Certificates::X509Certificate2::GetCertContentType(const String &filename)
参数类型描述
filenameconst String&证书文件名。

ReturnValue

X.509 证书的类型。

另见