The ICertEncodeDateArray interface provides methods for handling date arrays used in certificate extensions. A certificate extension can be created 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.
The following methods are provided by the ICertEncodeDateArray interface.
Method | Description |
---|---|
Decode | Decodes an ASN encoded date array and stores the resulting array of dates in the COM object. |
Encode | Performs ASN encoding on a date array stored in the COM object and returns the ASN 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 initializes the values. |
SetValue | Sets a date value at a specified index of a date array. |