X509Certificate Constructor

X509Certificate Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the X509Certificate class.

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

  NameDescription
Public method X509Certificate() Initializes a new instance of the X509Certificate class.
Public method X509Certificate(Byte[]) Initializes a new instance of the X509Certificate class defined from a sequence of bytes representing an X.509 version 3 certificate.
Public method X509Certificate(IntPtr) Security Critical. Initializes a new instance of the X509Certificate class using a handle to an unmanaged PCCERT_CONTEXT structure.
Public method X509Certificate(String) Security Critical. Initializes a new instance of the X509Certificate class using a using a certificate file name.
Public method X509Certificate(X509Certificate) Initializes a new instance of the X509Certificate class using another X509Certificate class.
Public method X509Certificate(Byte[], String) Initializes a new instance of the X509Certificate class using a byte array and a password.
Public method X509Certificate(String, String) Security Critical. Initializes a new instance of the X509Certificate class by using a certificate file name and a password to access the certificate.
Public method X509Certificate(Byte[], String, X509KeyStorageFlags) Initializes a new instance of the X509Certificate class using a byte array, a password, and a key storage flag.
Public method X509Certificate(String, String, X509KeyStorageFlags) Security Critical. Initializes a new instance of the X509Certificate class using a certificate file name, a password used to access the certificate, and a key storage flag.
Top

Show:
© 2017 Microsoft