Partager via


MDM_Certificate class

Provides the ability to install and delete the certificates on the device.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("MDMSettingsProv"), AMENDMENT]
class MDM_Certificate
{
  uint8   StoreLocation;
  string  StoreName;
  string  Thumbprint;
  boolean IsInstalled;
  string  Blob;
};

Members

The MDM_Certificate class has these types of members:

Properties

The MDM_Certificate class has these properties.

Blob

Data type: string

Access type: Read-only

The Base64-encoded raw certificate blob.

IsInstalled

Data type: boolean

Access type: Read-only

True if the certificate is installed.

StoreLocation

Data type: uint8

Access type: Read-only

Qualifiers: key

The certificate store location.

Possible values are.

1 (ContextUser)

2 (ContextMachine)

StoreName

Data type: string

Access type: Read-only

Qualifiers: key

The internal store name to install the certificate.

Thumbprint

Data type: string

Access type: Read-only

Qualifiers: key

The thumbprint of the certificate.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll

See also

Mobile Device Management Settings Classes