Windows apps
Collapse the table of content
Expand the table of content

X509Certificate2 Constructor (Session, Byte[], String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the X509Certificate2 class with specified session, data and password.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

public:
X509Certificate2(
	Session^ session, 
	array<unsigned char>^ data, 
	String^ password
)

Parameters

session
Type: Microsoft.SPOT.Cryptoki..::..Session
The session for which this certificate will be created.
data
Type: array<System..::..Byte>[]()[][]
The data bytes for the certificate (PEM, DER, P12, etc.)
password
Type: System..::..String
The pppassword for decrypting the certificate data (optional)

Show:
© 2017 Microsoft