Windows Dev Center

CertificateStore class

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();

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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

 

 

Show:
© 2015 Microsoft