CertificateStores CertificateStores CertificateStores CertificateStores Class

Definition

Represents a collection of certificate stores.

public : static class CertificateStorespublic static class CertificateStoresPublic Static Class CertificateStores// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

IntermediateCertificationAuthorities IntermediateCertificationAuthorities IntermediateCertificationAuthorities IntermediateCertificationAuthorities

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

public : static CertificateStore IntermediateCertificationAuthorities { get; }public static CertificateStore IntermediateCertificationAuthorities { get; }Public Static ReadOnly Property IntermediateCertificationAuthorities As CertificateStore// You can use this property in JavaScript.
Value
CertificateStore CertificateStore CertificateStore CertificateStore

The certificate store of intermediate certification authorities for an app.

TrustedRootCertificationAuthorities TrustedRootCertificationAuthorities TrustedRootCertificationAuthorities TrustedRootCertificationAuthorities

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

public : static CertificateStore TrustedRootCertificationAuthorities { get; }public static CertificateStore TrustedRootCertificationAuthorities { get; }Public Static ReadOnly Property TrustedRootCertificationAuthorities As CertificateStore// You can use this property in JavaScript.
Value
CertificateStore CertificateStore CertificateStore CertificateStore

The certificate store of trusted root certificates for an app.

Methods

FindAllAsync() FindAllAsync() FindAllAsync() FindAllAsync()

Get all certificates from the certificate stores.

public : static IAsyncOperation<IVectorView<Certificate>> FindAllAsync()public static IAsyncOperation<IReadOnlyList<Certificate>> FindAllAsync()Public Static Function FindAllAsync() As IAsyncOperation( Of IReadOnlyListCertificate )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>>

An asynchronous operation to retrieve the list of certificates.

Remarks

The FindAllAsync method filters the resulting list of certificates and removes duplicates, showing only the most recent certificate when duplicates are found. This only occurs if the app is running in an app container. Duplicate certificates are certificates that have the same subject and issuer.

Expired certificates are not returned in the list of certificates.

See Also

FindAllAsync(CertificateQuery) FindAllAsync(CertificateQuery) FindAllAsync(CertificateQuery) FindAllAsync(CertificateQuery)

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

public : static IAsyncOperation<IVectorView<Certificate>> FindAllAsync(CertificateQuery query)public static IAsyncOperation<IReadOnlyList<Certificate>> FindAllAsync(CertificateQuery query)Public Static Function FindAllAsync(query As CertificateQuery) As IAsyncOperation( Of IReadOnlyListCertificate )// You can use this method in JavaScript.
Parameters
query
CertificateQuery CertificateQuery CertificateQuery CertificateQuery

The certificate values to search for.

Returns
IAsyncOperation<IVectorView<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>> IAsyncOperation<IReadOnlyList<Certificate>>

An asynchronous operation to retrieve the list of certificates.

Remarks

The FindAllAsync method filters the resulting list of certificates and removes duplicates, showing only the most recent certificate when duplicates are found. This only occurs if the app is running in an app container. Duplicate certificates are certificates that have the same subject and issuer.

Expired certificates are not returned in the list of certificates.

See Also

GetStoreByName(String) GetStoreByName(String) GetStoreByName(String) GetStoreByName(String)

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

public : static CertificateStore GetStoreByName(PlatForm::String storeName)public static CertificateStore GetStoreByName(String storeName)Public Static Function GetStoreByName(storeName As String) As CertificateStore// You can use this method in JavaScript.
Parameters
storeName
PlatForm::String String String String

The name of the certificate store to return. The storeName parameter value cannot be "MY".

Returns

GetUserStoreByName(String) GetUserStoreByName(String) GetUserStoreByName(String) GetUserStoreByName(String)

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

public : static UserCertificateStore GetUserStoreByName(PlatForm::String storeName)public static UserCertificateStore GetUserStoreByName(String storeName)Public Static Function GetUserStoreByName(storeName As String) As UserCertificateStore// You can use this method in JavaScript.
Parameters
storeName
PlatForm::String String String String

The name of the user certificate store to return.

Returns
Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)