Export (0) Print
Expand All

ICertEncodeDateArray interface

The ICertEncodeDateArray interface provides methods for handling Date arrays used in certificate extensions.

A certificate extension can be created by using a Date array stored in an extension handler COM object instantiated by the policy module. Each element in the array is a Date value.

This interface is provided mainly as a demonstration for encoding custom extensions. The Certificate Services sample programs in the Platform Software Development Kit (SDK) contain source code for this interface.

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

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

Members

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

Methods

The ICertEncodeDateArray interface has these methods.

MethodDescription
Decode

Decodes an Abstract Syntax Notation One (ASN.1)-encoded Date array and stores the resulting array of Dates in the COM object.

Encode

Performs ASN.1 encoding on a Date array stored in the COM object and returns the ASN.1-encoded Date array.

GetCount

Returns the number of Date values in a Date array.

GetValue

Returns the Date value at a specified index of a Date array.

Reset

Resets a Date array to a specified number of elements and clears the values.

SetValue

Sets a Date value at a specified index of a Date 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_ICertEncodeDateArray is defined as 2f9469a0-a470-11d0-8821-00a0c903b83c

 

 

Community Additions

ADD
Show:
© 2014 Microsoft