Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

ICertEncodeLongArray Interface

The ICertEncodeLongArray interface provides methods for handling long arrays used in certificate extensions. A certificate extension can be created using a long array stored in an extension handler COM object instantiated by the policy module. Each element in the array is a long value.

The following methods are provided by the ICertEncodeLongArray interface.

Method Description
Decode Decodes an ASN encoded long array and stores the resulting array of longs in the COM object.
Encode Performs ASN encoding on a long array stored in the COM object and returns the ASN encoded long array.
GetCount Returns the number of long values in a long array.
GetValue Returns the long value at a specified index of a long array.
Reset Resets a long array to a specified number of elements.
SetValue Sets a long value at a specified index of a long array.


Share this article: