Export (0) Print
Expand All
Expand Minimize

FindValidCertificates method of the Win32_EncryptableVolume class

The FindValidCertificates method of the Win32_EncryptableVolume class enumerates all certificates on the system that match the indicated criteria and returns a list of thumbprints. The returned list only contains certificates with a valid object identifier (OID). The OID may be the default, or it may be specified in the Group Policy.

Syntax


uint32 FindValidCertificates(
  [out]  string CertificateThumbprint[]
);

Parameters

CertificateThumbprint [out]

Type: string[]

An array of strings that contains the list of valid certificates.

Return value

Type: uint32

This method returns one of the following codes or another error code if it fails.

Return code/valueDescription
S_OK
0 (0x0)

The method was successful.

FVE_E_INVALID_BITLOCKER_OID
2150695022 (0x8031006E)

The available BitLocker OID is not valid.

 

Requirements

Minimum supported client

Windows 7 Enterprise, Windows 7 Ultimate [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Namespace

\\.\root\CIMV2\Security\MicrosoftVolumeEncryption

MOF

Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume

 

 

Community Additions

ADD
Show:
© 2014 Microsoft