Skip to main content
CertificateStore class

Applies to Windows and Windows Phone

Represents a certificate store for an app.

Syntax


var certificateStore = Windows.Security.Cryptography.Certificates.CertificateStore.intermediateCertificationAuthorities;
var certificateStore = Windows.Security.Cryptography.Certificates.CertificateStore.trustedRootCertificationAuthorities;
var certificateStore = Windows.Security.Cryptography.Certificates.CertificateStore.getStoreByName();

public sealed class CertificateStore

Public NotInheritable Class CertificateStore

public ref class CertificateStore sealed 

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Threading(Both)]
[ Version(0x06030000)]

Members

The CertificateStore class has these types of members:

Methods

The CertificateStore class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Add Adds a certificate to the certificate store.
Delete Deletes a certificate from the certificate store.

 

Remarks

You can retrieve certificates from the certificate store using the FindAllAsync method.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

See also

Object