共用方式為


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