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.

ICertEncodeAltName Interface

The ICertEncodeAltName interface provides methods for handling alternate names used in certificate extensions. A certificate extension can be created using an alternate name array stored in an extension handler COM object instantiated by the policy podule. Each element in the array is a structure containing a name string and a name choice string.

The following methods are provided by the ICertEncodeAltName interface.

Method Description
Decode Decodes an ASN encoded alternate name array and stores the resulting array of strings in the COM object.
Encode Performs ASN encoding on an alternate name array stored in the COM object and returns the array of ASN encoded strings.
GetName Returns the alternate name at a specified index of an alternate name array.
GetNameChoice Returns a name choice at a specified index of an alternate name array.
GetNameCount Returns the count of names in an alternate name array.
Reset Resets an alternate name array to a specified number of elements and initializes the values.
SetNameEntry Sets a name and name choice at a specified index of an alternate name array.

 


Share this article: