The ICertEncodeStringArray interface provides methods for handling string arrays used in certificate extensions. A certificate extension can be created using a string array stored in an extension handler COM object instantiated by the policy module. Each element in the array is a string value.
The following methods are provided by the ICertEncodeStringArray interface.
Method | Description |
---|---|
Decode | Decodes an ASN encoded string array and stores the resulting array of strings in the COM object. |
Encode | Performs ASN encoding on a string array stored in the COM object and returns the ASN encoded string array. |
GetCount | Returns the number of values in a string array. |
GetStringType | Returns the type of values contained in a string array. |
GetValue | Returns the value at a specified index of a string array. |
Reset | Resets a string array to a specified type and number of elements, and initializes the values. |
SetValue | Sets a value at a specified index of a string array. |