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.


© 1997 by Microsoft Corporation. All rights reserved.