X509Certificate Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the X509Certificate class.

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

NameDescription
System_CAPS_pubmethodX509Certificate()

Initializes a new instance of the X509Certificate class.

System_CAPS_pubmethodX509Certificate(Byte[])

Initializes a new instance of the X509Certificate class defined from a sequence of bytes representing an X.509v3 certificate.

System_CAPS_pubmethodX509Certificate(Byte[], SecureString)

Initializes a new instance of the X509Certificate class using a byte array and a password.

System_CAPS_pubmethodX509Certificate(Byte[], SecureString, X509KeyStorageFlags)

Initializes a new instance of the X509Certificate class using a byte array, a password, and a key storage flag.

System_CAPS_pubmethodX509Certificate(Byte[], String)

Initializes a new instance of the X509Certificate class using a byte array and a password.

System_CAPS_pubmethodX509Certificate(Byte[], String, X509KeyStorageFlags)

Initializes a new instance of the X509Certificate class using a byte array, a password, and a key storage flag.

System_CAPS_pubmethodX509Certificate(IntPtr)

Initializes a new instance of the X509Certificate class using a handle to an unmanaged PCCERT_CONTEXT structure.

System_CAPS_pubmethodX509Certificate(SerializationInfo, StreamingContext)

Initializes a new instance of the X509Certificate class using a SerializationInfo object and a StreamingContext structure.

System_CAPS_pubmethodX509Certificate(String)

Initializes a new instance of the X509Certificate class using the name of a PKCS7 signed file.

System_CAPS_pubmethodX509Certificate(String, SecureString)

Initializes a new instance of the X509Certificate class using a certificate file name and a password.

System_CAPS_pubmethodX509Certificate(String, SecureString, X509KeyStorageFlags)

Initializes a new instance of the X509Certificate class using a certificate file name, a password, and a key storage flag.

System_CAPS_pubmethodX509Certificate(String, String)

Initializes a new instance of the X509Certificate class using the name of a PKCS7 signed file and a password to access the certificate.

System_CAPS_pubmethodX509Certificate(String, String, X509KeyStorageFlags)

Initializes a new instance of the X509Certificate class using the name of a PKCS7 signed file, a password to access the certificate, and a key storage flag.

System_CAPS_pubmethodX509Certificate(X509Certificate)

Initializes a new instance of the X509Certificate class using another X509Certificate class.

Return to top
Show: