ICertEncodeCRLDistInfo::Decode method

The Decode method decodes an Abstract Syntax Notation One (ASN.1)-encoded certificate revocation list (CRL) distribution information extension and stores the resulting array in the COM object.

Syntax


HRESULT Decode(
  [inconst BSTR strBinary
);

Parameters

strBinary [in]

An ASN.1-encoded CRL distribution information extension.

Return value

VB

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Remarks

This method places the decoded contents of strBinary into the object's array of CRL distribution information points. If the object's array already contains data, this existing content will be freed, and the array will be loaded with the decoded values.

Examples

For an example that uses the Decode method, see the ICertEncodeCRLDistInfo::Encode method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeCRLDistInfo is defined as 01958640-bbff-11d0-8825-00a0c903b83c

See also

ICertEncodeCRLDistInfo
ICertEncodeCRLDistInfo::Encode

 

 

Show: