CertificateQuery CertificateQuery CertificateQuery CertificateQuery CertificateQuery Class

Definition

Represents parameters for a query for certificates from the certificate store for an app.

public : sealed class CertificateQuery : ICertificateQuery, ICertificateQuery2
struct winrt::Windows::Security::Cryptography::Certificates::CertificateQuery : ICertificateQuery, ICertificateQuery2
public sealed class CertificateQuery : ICertificateQuery, ICertificateQuery2
Public NotInheritable Class CertificateQuery Implements ICertificateQuery, ICertificateQuery2
var certificateQuery = new certificateQuery();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

CertificateQuery() CertificateQuery() CertificateQuery() CertificateQuery() CertificateQuery()

Creates a new instance of a certificate query.

Properties

EnhancedKeyUsages EnhancedKeyUsages EnhancedKeyUsages EnhancedKeyUsages EnhancedKeyUsages

Gets a collection of object identifiers (OIDs) for the enhanced key usage extension to search for.

FriendlyName FriendlyName FriendlyName FriendlyName FriendlyName

Gets or sets the certificate friendly name to search for.

HardwareOnly HardwareOnly HardwareOnly HardwareOnly HardwareOnly

Gets or sets a value that indicates whether only hardware certificates (SC or TPM) are to be returned from the query.

IncludeDuplicates IncludeDuplicates IncludeDuplicates IncludeDuplicates IncludeDuplicates

Gets or sets whether to include duplicates.

IncludeExpiredCertificates IncludeExpiredCertificates IncludeExpiredCertificates IncludeExpiredCertificates IncludeExpiredCertificates

Gets or sets whether to include expired certificates.

IssuerName IssuerName IssuerName IssuerName IssuerName

Gets or sets the name of the certificate issuer to search for.

StoreName StoreName StoreName StoreName StoreName

Gets or sets the store name.

Thumbprint Thumbprint Thumbprint Thumbprint Thumbprint

Gets or sets a certificate thumbprint to search for.