Certificate.Implicit Operator
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9119)
Implicit(X509Certificate to Certificate)
Converts an X509Certificate or X509Certificate2 to a Certificate.
Declaration
public static implicit operator Certificate(X509Certificate certificate)
Parameters
Type | Name | Description |
---|---|---|
X509Certificate | certificate | An instance of X509Certificate or X509Certificate2. |
Returns
Type | Description |
---|---|
Certificate | A Certificate. |
Implicit(Certificate to X509Certificate2)
Converts a Certificate to X509Certificate2 (or X509Certificate).
Declaration
public static implicit operator X509Certificate2(Certificate certificate)
Parameters
Type | Name | Description |
---|---|---|
Certificate | certificate | An instance of Certificate. |
Returns
Type | Description |
---|---|
X509Certificate2 | An X509Certificate2. |