Skip to main content
CertificateStores class

Applies to Windows and Windows Phone

Represents a collection of certificate stores.

Syntax


var certificateStores = Windows.Security.Cryptography.Certificates.CertificateStores;

public static class CertificateStores

Public NotInheritable Class CertificateStores

public ref class CertificateStores abstract sealed 

Attributes

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

Members

The CertificateStores class has these types of members:

Methods

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

MethodDescription
FindAllAsync() Get all certificates from the certificate stores.
FindAllAsync(CertificateQuery) Get all certificates from the certificate stores that match the specified query parameters.
GetStoreByName Gets a certificate store from the collection of certificate stores by name.

 

Properties

The CertificateStores class has these properties.

PropertyAccess typeDescription

IntermediateCertificationAuthorities

Read-onlyGets the certificate store of intermediate certification authorities for an app.

TrustedRootCertificationAuthorities

Read-onlyGets the certificate store of trusted root certificates for an app.

 

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