IObjectId interface (certenroll.h)

The IObjectId interface represents an object identifier (OID). OIDs are returned from numerous Certificate Enrollment API properties, and they can be used to initialize the following objects:

All of the methods used to initialize an IObjectId object call the CryptoAPI CryptFindOIDInfo function which retrieves the first registered CRYPT_OID_INFO structure that matches the specified parameters. The function searches the registry and static memory on the local computer and Active Directory on the domain server. The CRYPT_OID_INFO structure is declared in Wincrypt.h and has the following signature.

Note  You cannot use the CRYPT_OID_INFO structure directly in the Certificate Enrollment API.

 

Inheritance

The IObjectId interface inherits from the IDispatch interface. IObjectId also has these types of members:

Methods

The IObjectId interface has these methods.

 
IObjectId::get_FriendlyName

Specifies and retrieves a display name for the object identifier. (Get)
IObjectId::get_Name

Retrieves a CERTENROLL_OBJECTID value that contains an object identifier.
IObjectId::get_Value

Retrieves a string that contains the dotted decimal object identifier (OID).
IObjectId::GetAlgorithmName

Retrieves the display name associated with an algorithm object identifier (OID).
IObjectId::InitializeFromAlgorithmName

Initializes the object from an algorithm name or an object identifier.
IObjectId::InitializeFromName

Initializes the object from a CERTENROLL_OBJECTID enumeration value.
IObjectId::InitializeFromValue

Initializes the object from a string that contains a dotted decimal object identifier (OID).
IObjectId::put_FriendlyName

Specifies and retrieves a display name for the object identifier. (Put)

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

See also

CertEnroll Interfaces

IDispatch

IObjectIds