---
UID: NF:certenroll.ICspAlgorithms.get_IndexByObjectId
title: ICspAlgorithms::get_IndexByObjectId (certenroll.h)
description: Retrieves the index of an ICspAlgorithm object by object identifier (OID).
old-location: security\icspalgorithms_indexbyobjectid_property.htm
tech.root: seccertenroll
ms.assetid: 2a626738-8be4-4be4-ac32-860718a92ff9
ms.date: 12/05/2018
ms.keywords: ICspAlgorithms interface [Security],IndexByObjectId property, ICspAlgorithms.IndexByObjectId, ICspAlgorithms.get_IndexByObjectId, ICspAlgorithms::IndexByObjectId, ICspAlgorithms::get_IndexByObjectId, IndexByObjectId property [Security], IndexByObjectId property [Security],ICspAlgorithms interface, certenroll/ICspAlgorithms::IndexByObjectId, certenroll/ICspAlgorithms::get_IndexByObjectId, get_IndexByObjectId, security.icspalgorithms_indexbyobjectid_property
f1_keywords:
- certenroll/ICspAlgorithms.IndexByObjectId
dev_langs:
- c++
req.header: certenroll.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows Vista [desktop apps only]
req.target-min-winversvr: Windows Server 2008 [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: CertEnroll.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- CertEnroll.dll
api_name:
- ICspAlgorithms.IndexByObjectId
- ICspAlgorithms.get_IndexByObjectId
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ICspAlgorithms::get_IndexByObjectId


## -description


The <b>IndexByObjectId</b> property retrieves the index of an <a href="https://docs.microsoft.com/windows/desktop/api/certenroll/nn-certenroll-icspalgorithm">ICspAlgorithm</a> object by <a href="https://docs.microsoft.com/windows/desktop/SecGloss/o-gly">object identifier</a> (OID).

This property is read-only.


## -parameters


## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/certenroll/nn-certenroll-ix509namevaluepair">ICspAlgorithm</a>



<a href="https://docs.microsoft.com/windows/desktop/api/certenroll/nn-certenroll-icspalgorithms">ICspAlgorithms</a>
 

 

