Partager via


MDM_CertificateEnrollment class

Represents a Certificate Enrollment used in the Simple Certificate Enrollment Protocol (SCEP).

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_CertificateEnrollment
{
  string   RequestID;
  uint8    StoreLocation;
  string   EnhancedKeyUsages;
  string   Issuers;
  uint32   Status;
  uint32   Error;
  uint32   ExpirationThreshold;
  string   SubjectName;
  string   SubjectAlternativeNames;
  string   Thumbprint;
  string   SerialNumber;
  datetime ValidFrom;
  datetime ValidTo;
  string   ConfigurationParameters;
};

Members

The MDM_CertificateEnrollment class has these types of members:

Properties

The MDM_CertificateEnrollment class has these properties.

ConfigurationParameters

Data type: string

Access type: Read-only

The XML blob containing static attributes like Issuer Name, SCEP URL, and Retries, that will be used by the client for the SCEP calls to Network Device Enrollment Service (NDES).

EnhancedKeyUsages

Data type: string

Access type: Read-only

Qualifiers: key

The certificate selection criteria Enhanced Key Usages (EKU), delimited with commas. Matching on all specified EKUs.

Error

Data type: uint32

Access type: Read-only

Detailed enrollment request error. Valid if the Status property is EnrollError.

ExpirationThreshold

Data type: uint32

Access type: Read-only

The certificate expiration threshold in days.

Issuers

Data type: string

Access type: Read-only

Qualifiers: key

The certificate selection criteria Issuer subject names, delimited with the "|" (vertical bar) character. Names are case-sensitive and matched on individual issuers.

RequestID

Data type: string

Access type: Read-only

Qualifiers: key

Identifies the enrollment certificate request.

SerialNumber

Data type: string

Access type: Read-only

The serial number of the issued certificate.

Status

Data type: uint32

Access type: Read-only

Indicates if a certificate matching the enrollment request criteria is issued.

StoreLocation

Data type: uint8

Access type: Read-only

Qualifiers: key

The certificate store location.

Possible values are.

1 (ContextUser)

2 (ContextMachine)

SubjectAlternativeNames

Data type: string

Access type: Read-only

The subject alternative names of the issued certificate with a separator bar as delimiter.

SubjectName

Data type: string

Access type: Read-only

The subject name of the issued certificate.

Thumbprint

Data type: string

Access type: Read-only

The thumbprint of the issued certificate.

ValidFrom

Data type: datetime

Access type: Read-only

Valid from date of the issued certificate.

ValidTo

Data type: datetime

Access type: Read-only

Valid to date of the issued certificate.

Requirements

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

See also

Mobile Device Management Settings Classes