Udostępnij za pośrednictwem


CertificateStores Class

Definition

Represents a collection of certificate stores.

public ref class CertificateStores abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateStores final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CertificateStores
Public Class CertificateStores
Inheritance
Object Platform::Object IInspectable CertificateStores
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1607 14393 GetUserStoreByName

Properties

IntermediateCertificationAuthorities

Gets the certificate store of intermediate certification authorities for an app.

TrustedRootCertificationAuthorities

Gets the certificate store of trusted root certificates for an app.

Methods

FindAllAsync()

Get all certificates from the certificate stores.

FindAllAsync(CertificateQuery)

Get all certificates from the certificate stores that match the specified query parameters.

GetStoreByName(String)

Gets a certificate store from the collection of certificate stores by name.

GetUserStoreByName(String)

Gets a user certificate store from the collection of certificate stores by name.

Applies to

See also