Search Results for

    Show / Hide Table of Contents

    Class CertificateManager

    Provides an interface to the device certificate store to manage X509Certificate.

    Inheritance
    object
    CertificateManager
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX