The Encode method performs ASN encoding on a bit string stored in the COM object and returns the ASN encoded bit string. The bit string is first initialized and then set before being encoded.
[VB] BSTR Encode( long BitCount, BSTR strBitString ); [JAVA] java.lang.String Encode( int BitCount, java.lang.String strBitString ); [C++] HRESULT Encode( LONG BitCount, // in BSTR strBitString, // in BSTR * pstrBinary // out );
Returns the ASN encoded bit string.