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. |