Export (0) Print
Expand All

ICertEncodeCRLDistInfo interface

The ICertEncodeCRLDistInfo interface provides methods for handling certificate revocation list (CRL) distribution information arrays used in certificate extensions.

A certificate extension can be created by using a CRL distribution information array stored in an extension handler COM object instantiated by the policy module. Each element in the array is a CRL distribution point structure that contains an array of names and name choices. This interface is useful for encoding and decoding szOID_CRL_DIST_POINTS "2.5.29.31" extensions; the SDK sample policy module uses this interface.

ICertEncodeCRLDistInfo is defined in Certenc.h. When you create your program, however, use Certsrv.h as the include file. Certenc.dll provides the ICertEncodeCRLDistInfo interface. The type information for this interface is also in Certencl.dll, which is shipped with the Platform Software Development Kit (SDK).

Certificate Services interfaces support both apartment-threading and free-threading models. For better throughput, free threading is recommended.

Members

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

Methods

The ICertEncodeCRLDistInfo interface has these methods.

MethodDescription
Decode

Decodes an Abstract Syntax Notation One (ASN.1)-encoded CRL distribution information extension and stores the resulting array in the COM object.

Encode

Performs ASN.1 encoding on a CRL distribution information array stored in the COM object and returns the ASN.1-encoded extension.

GetDistPointCount

Returns the number of CRL distribution point elements in a CRL distribution information array.

GetName

Returns the name at a specified index of a CRL distribution point structure.

GetNameChoice

Returns the name choice at a specified index of a CRL distribution point structure.

GetNameCount

Returns the number of names in a CRL distribution point structure.

Reset

Resets an array of CRL distribution information structures to a specified number of structures and clears the structure elements.

SetNameCount

Sets the name count for the specified distribution point in a CRL distribution information array.

SetNameEntry

Sets the name and name choice at a specified index of a distribution point in a CRL distribution information array.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeCRLDistInfo is defined as 01958640-bbff-11d0-8825-00a0c903b83c

 

 

Community Additions

ADD
Show:
© 2014 Microsoft