MDM_RootCATrustedCertificates_CA01_01 class
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Defines the SHA1 hash for the certificate. The 20-byte value of the SHA1 certificate hash is specified as a hexadecimal string value
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[dynamic, provider("DMWmiBridgeProv"), AMENDMENT, InPartition("local-system", "local-user")]
class MDM_RootCATrustedCertificates_CA01_01
{
string InstanceID;
string ParentID;
string EncodedCertificate;
string IssuedBy;
string IssuedTo;
string ValidFrom;
string ValidTo;
string TemplateName;
};
Members
The MDM_RootCATrustedCertificates_CA01_01 class has these types of members:
- Properties
Properties
The MDM_RootCATrustedCertificates_CA01_01 class has these properties.
EncodedCertificate
Data type: string
Access type: Read/write
Specifies the X.509 certificate as a Base64-encoded string. The Base-64 string value cannot include extra formatting characters such as embedded linefeeds, etc.
InstanceID
Data type: string
Access type: Read-only
Qualifiers: key
The SHA1 hash for the certificate. The 20-byte value of the SHA1 certificate hash is specified as a hexadecimal string value.
The supported operations are Add, Delete, and Replace.
IssuedBy
Data type: string
Access type: Read/write
Returns the name of the certificate issuer. This is equivalent to the Issuer member in the CERT_INFO data structure.
IssuedTo
Data type: string
Access type: Read/write
Returns the name of the certificate subject. This is equivalent to the Subject member in the CERT_INFO data structure.
ParentID
Data type: string
Access type: Read-only
Qualifiers: key
Describes the full path to the parent node. For device certificates, the string is "./Device/Vendor/MSFT/RootCATrustedCertificates/CA/" and for user certificates it's "./User/Vendor/MSFT/RootCATrustedCertificates/CA/"
TemplateName
Data type: string
Access type: Read/write
Returns the certificate template name. Supported operation is Get.
ValidFrom
Data type: string
Access type: Read/write
Returns the starting date of the certificate's validity. Supported operation is Get. This is equivalent to the NotBefore member in the CERT_INFO structure.
ValidTo
Data type: string
Access type: Read/write
Returns the expiration date of the certificate. Supported operation is Get. This is equivalent to the NotAfter member in the CERT_INFO structure
Requirements
Minimum supported client |
Windows 10 Insider Preview |
Minimum supported server |
None supported |
Namespace |
root\cimv2\mdm\dmmap |
MOF |
DMWmiBridgeProv.mof |
DLL |
DMWmiBridgeProv.dll |