Certificate Constructor
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
Certificate(Byte[])
Loads a certificate from an array.
Declaration
public Certificate(byte[] data)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | data | An array containing DER encoded certificate data. |
Certificate(IntPtr)
Creates a new instance of Certificate based on the specified context.
Declaration
public Certificate(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | handle | A pointer to the certificate context. |
Remarks
Only supported on Windows platforms.
Certificate(X509Certificate)
Creates a new instance of Certificate based on the specified certificate X509Certificate or X509Certificate2.
Declaration
public Certificate(X509Certificate certificate)
Parameters
Type | Name | Description |
---|---|---|
X509Certificate | certificate | An instance of X509Certificate or X509Certificate2. |