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.

ICertEncodeBitString Interface

The ICertEncodeBitString interface provides methods for handling bit strings used in certificate extensions. A certificate extension can be created using a bit string stored in an extension handler COM object instantiated by the policy module. The bit string can contain an arbitrary string of binary values.

The following methods are provided by the ICertEncodeBitString interface.

Method Description
Decode Decodes an ASN encoded bit string and stores the resulting bit string in the COM object.
Encode Performs ASN encoding on a bit string stored in the COM object and returns the ASN encoded bit string.
GetBitCount Returns the number of bits in a bit string.
GetBitString Returns the bit string.

 


Share this article: