ICryptAttribute::get_ObjectId method (certenroll.h)
The ObjectId property retrieves the object identifier (OID) for the attribute.
This property is read-only.
Syntax
HRESULT get_ObjectId(
IObjectId **ppValue
);
Parameters
ppValue
Return value
None
Remarks
You can initialize an IObjectId object by calling InitializeFromName. This method initializes the object by using a value from the CERTENROLL_OBJECTID enumeration. The enumeration value is associated with an ASN.1 object identifier. For example, the value XCN_OID_COUNTRY_NAME is associated with a string containing 2.5.4.6. This is the dotted decimal representation of the joint-iso-itu-t(2)ds(5)attributeType(4)countryName(6) object identifier.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |
DLL | CertEnroll.dll |