Creates a new instance of Certificate based on the specified certificate X509Certificate or X509Certificate2.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ certificate As X509Certificate _ ) |
C# |
---|
public Certificate( X509Certificate certificate ) |
Parameters
- certificate
- Type: System.Security.Cryptography.X509Certificates..::..X509Certificate
An instance of X509Certificate or X509Certificate2.