Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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)
Syntax
'Declaration
Public Sub New ( _
session As Session, _
data As Byte(), _
password As String _
)
public X509Certificate2(
Session session,
byte[] data,
string password
)
public:
X509Certificate2(
Session^ session,
array<unsigned char>^ data,
String^ password
)
new :
session:Session *
data:byte[] *
password:string -> X509Certificate2
public function X509Certificate2(
session : Session,
data : byte[],
password : String
)
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)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.