ICertEncodeLongArray::Encode

The Encode method performs ASN encoding on a long array stored in the COM object and returns the ASN encoded long array. The Reset method must first be used to size the array, and the SetValue method must be called to set each element in each distribution point structure.

[VB] BSTR Encode(void);
 
[JAVA] java.lang.String Encode(void);
 
[C++] HRESULT Encode(
  BSTR *pstrBinary   // out
);
 

Parameters

[C++] pstrBinary
Points to the return value. See Return Values.

Return Values

Returns the ASN encoded long array.

QuickInfo

  Windows NT: Requires version 5.0 or later (or version 4.0 with the Windows NT 4.0 Option Pack).
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in certenc.h.
  Import Library: Use certidl.lib.