Class CertificateManager
Provides an interface to the device certificate store to manage X509Certificate.
public static class CertificateManager
- Inheritance
-
CertificateManager
- Inherited Members
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.
public static bool AddCaCertificateBundle(byte[] ca)
Parameters
ca
byte[]The Certificate Authority certificate bundle to be added store.
Returns
- 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.
public static bool AddCaCertificateBundle(X509Certificate[] ca)
Parameters
ca
X509Certificate[]The Certificate Authority certificate bundle to be added store.
Returns
- 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.
public static bool AddCaCertificateBundle(string ca)
Parameters
ca
stringThe Certificate Authority certificate bundle to be added store.
Returns
- 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.