Class CertificateManager
Provides an interface to the device certificate store to manage X509Certificate.
Inherited Members
Namespace: System.Net.Security
Assembly: System.Net.dll
Syntax
public static class CertificateManager
Methods
AddCaCertificateBundle(byte[])
Adds a Certificate Authority Root bundle X509Certificate to the store. If there is already a CA Root bundle it will be replaced with this one.
Declaration
public static bool AddCaCertificateBundle(byte[] ca)
Parameters
Type | Name | Description |
---|---|---|
byte[] | ca | The Certificate Authority certificate bundle to be added store. |
Returns
Type | Description |
---|---|
bool | True if the certificate bundle was correctly added to the device certificate store. |
Remarks
This method is exclusive of nanoFramework. There is no equivalent in .NET framework.
AddCaCertificateBundle(X509Certificate[])
Adds a Certificate Authority Root bundle X509Certificate to the store. If there is already a CA Root bundle it will be replaced with this one.
Declaration
public static bool AddCaCertificateBundle(X509Certificate[] ca)
Parameters
Type | Name | Description |
---|---|---|
X509Certificate[] | ca | The Certificate Authority certificate bundle to be added store. |
Returns
Type | Description |
---|---|
bool | True if the certificate bundle was correctly added to the device certificate store. |
Remarks
This method is exclusive of nanoFramework. There is no equivalent in .NET framework.
AddCaCertificateBundle(string)
Adds a Certificate Authority Root bundle X509Certificate to the store. If there is already a CA Root bundle it will be replaced with this one.
Declaration
public static bool AddCaCertificateBundle(string ca)
Parameters
Type | Name | Description |
---|---|---|
string | ca | The Certificate Authority certificate bundle to be added store. |
Returns
Type | Description |
---|---|
bool | True if the certificate bundle was correctly added to the device certificate store. |
Remarks
This method is exclusive of nanoFramework. There is no equivalent in .NET framework.