The Encode method performs ASN encoding on a CERT_SAMPLE_STRUCTURE2_INFO structure stored in the COM object and returns the ASN encoded structure.
[VB] BSTR Encode(void);
[JAVA] java.lang.String Encode(void);
[C++] HRESULT Encode(
BSTR *pstrBinary // out
);
Returns the ASN encoded CERT_SAMPLE_STRUCTURE2_INFO structure.