Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
- IAlternativeName
- ICertificatePolicy
- ICryptAttribute
- ISmimeCapability
- IX509Attribute
- IX509AttributeArchiveKey
- IX509Extension
- IX509ExtensionEnhancedKeyUsage
- IX509ExtensionTemplate
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.
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 |