你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CertUtils.NewX509Certificate2 Method

Definition

public static System.Security.Cryptography.X509Certificates.X509Certificate2 NewX509Certificate2 (byte[] rawData, string password, System.Security.Cryptography.X509Certificates.X509KeyStorageFlags keyStorageFlags, bool shouldValidatePfx);
static member NewX509Certificate2 : byte[] * string * System.Security.Cryptography.X509Certificates.X509KeyStorageFlags * bool -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Shared Function NewX509Certificate2 (rawData As Byte(), password As String, keyStorageFlags As X509KeyStorageFlags, shouldValidatePfx As Boolean) As X509Certificate2

Parameters

rawData
Byte[]
password
String
keyStorageFlags
X509KeyStorageFlags
shouldValidatePfx
Boolean

Returns

Applies to