CertificateStore CertificateStore CertificateStore CertificateStore Class

Represents a certificate store for an app.

Syntax

Declaration

public sealed class CertificateStorepublic sealed class CertificateStorePublic NotInheritable Class CertificateStore

Remarks

You can retrieve certificates from the certificate store using the FindAllAsync(Windows.Security.Cryptography.Certificates.CertificateQuery) method.

Properties summary

Gets the name of the certificate store.

Methods summary

Adds a certificate to the certificate store.

Deletes a certificate from the certificate store.

Properties

  • Name
    Name
    Name
    Name

    Gets the name of the certificate store.

    public string Name { get; }public string Name { get; }Public ReadOnly Property Name As string

    Property Value

    • string
      string
      string
      string

      The name of the certificate store.

Methods

  • Add(Windows.Security.Cryptography.Certificates.Certificate)
    Add(Windows.Security.Cryptography.Certificates.Certificate)
    Add(Windows.Security.Cryptography.Certificates.Certificate)
    Add(Windows.Security.Cryptography.Certificates.Certificate)

    Adds a certificate to the certificate store.

    public void Add(Windows.Security.Cryptography.Certificates.Certificate)public void Add(Windows.Security.Cryptography.Certificates.Certificate)Public Function Add(Windows.Security.Cryptography.Certificates.Certificate) As void

    Parameters

  • Delete(Windows.Security.Cryptography.Certificates.Certificate)
    Delete(Windows.Security.Cryptography.Certificates.Certificate)
    Delete(Windows.Security.Cryptography.Certificates.Certificate)
    Delete(Windows.Security.Cryptography.Certificates.Certificate)

    Deletes a certificate from the certificate store.

    public void Delete(Windows.Security.Cryptography.Certificates.Certificate)public void Delete(Windows.Security.Cryptography.Certificates.Certificate)Public Function Delete(Windows.Security.Cryptography.Certificates.Certificate) As void

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Security.Cryptography.Certificates.dll