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 CertThumbprint[]
);
Parameters
-
CertThumbprint [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/value | Description |
---|---|
|
The method was successful. |
|
The available BitLocker OID is not valid. |
Requirements
Requirement | Value |
---|---|
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 |
|
See also