IOCSPPropertyCollection interface

The IOCSPPropertyCollection interface represents a set of configurable attribute properties (name-value pairs) for an Online Certificate Status Protocol (OCSP) service. Microsoft provides a default implementation of this interface in the OCSPPropertyCollection class.

In C++, you create an instance of this interface by calling the CoCreateInstance function with the CLSID_OCSPPropertyCollection class identifier.

In Visual Basic Scripting Edition, you create an instance of the OCSPPropertyCollection object.


The IOCSPPropertyCollection interface has these methods.

Method Description
IOCSPPropertyCollection::CreateProperty Creates a new property and adds it to a property set.
IOCSPPropertyCollection::DeleteProperty Removes a named property from a property set.
IOCSPPropertyCollection::get__NewEnum Gets an enumerator for a property set.
IOCSPPropertyCollection::get_Count Gets the number of properties in a property set.
IOCSPPropertyCollection::get_Item Gets the property identified by index in a property set.
IOCSPPropertyCollection::get_ItemByName Gets the property identified by name in a property set.
IOCSPPropertyCollection::GetAllProperties Gets all properties in a property set.
IOCSPPropertyCollection::InitializeFromProperties Creates a property set from the properties contained in an existing server configuration.


The IOCSPPropertyCollection contains attributes for the following:

  • Web proxy settings that include the number of threads and number of cache entries
  • Audit settings that include start/stop, configuration change, security change, and request events
  • Security settings that include ACEs for IOCSPAdmin interfaces
All OCSP attribute information is stored in the following registry key:


OCSP attributes govern OCSP responder service behavior for all CA configurations. For more information on CA configurations, see the IOCSPCAConfiguration interface topic.


Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header certadm.h (include Certserv.h)

See Also