Export (0) Print
Expand All

X509Certificate2 Constructor

Initializes a new instance of the X509Certificate2 class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method X509Certificate2() Initializes a new instance of the X509Certificate2 class.
Public method X509Certificate2(Byte[]) Initializes a new instance of the X509Certificate2 class using information from a byte array.
Public method X509Certificate2(IntPtr) Initializes a new instance of the X509Certificate2 class using an unmanaged handle.
Public method X509Certificate2(String) Initializes a new instance of the X509Certificate2 class using a certificate file name.
Public method X509Certificate2(X509Certificate) Initializes a new instance of the X509Certificate2 class using an X509Certificate object.
Public method X509Certificate2(Byte[], SecureString) Initializes a new instance of the X509Certificate2 class using a byte array and a password.
Public method X509Certificate2(Byte[], String) Initializes a new instance of the X509Certificate2 class using a byte array and a password.
Protected method X509Certificate2(SerializationInfo, StreamingContext) Initializes a new instance of the X509Certificate2 class using the specified serialization and stream context information.
Public method X509Certificate2(String, SecureString) Initializes a new instance of the X509Certificate2 class using a certificate file name and a password.
Public method X509Certificate2(String, String) Initializes a new instance of the X509Certificate2 class using a certificate file name and a password used to access the certificate.
Public method X509Certificate2(Byte[], SecureString, X509KeyStorageFlags) Initializes a new instance of the X509Certificate2 class using a byte array, a password, and a key storage flag.
Public method X509Certificate2(Byte[], String, X509KeyStorageFlags) Initializes a new instance of the X509Certificate2 class using a byte array, a password, and a key storage flag.
Public method X509Certificate2(String, SecureString, X509KeyStorageFlags) Initializes a new instance of the X509Certificate2 class using a certificate file name, a password, and a key storage flag.
Public method X509Certificate2(String, String, X509KeyStorageFlags) Initializes a new instance of the X509Certificate2 class using a certificate file name, a password used to access the certificate, and a key storage flag.
Top
Show:
© 2014 Microsoft