Export (0) Print
Expand All

IObjectId interface

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.

Members

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

Methods

The IObjectId interface has these methods.

MethodDescription
GetAlgorithmName

Retrieves the display name associated with an algorithm object identifier.

InitializeFromAlgorithmName

Initializes the object from an algorithm name or an object identifier.

[WebEnabled]

InitializeFromName

Initializes the object from a CERTENROLL_OBJECTID enumeration value.

[WebEnabled]

InitializeFromValue

Initializes the object from a string that contains a dotted decimal object identifier.

[WebEnabled]

 

Properties

The IObjectId interface has these properties.

PropertyAccess typeDescription

FriendlyName

Read/write

Specifies and retrieves a display name for the object identifier.

[WebEnabled]

Name

Read-only

Retrieves a CERTENROLL_OBECTID value that contains an object identifier.

Value

Read-only

Retrieves a string that contains the dotted decimal object identifier.

[WebEnabled]

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

CertEnroll.h

DLL

CertEnroll.dll

See also

CertEnroll Interfaces
IObjectIds

 

 

Community Additions

ADD
Show:
© 2014 Microsoft