IX509EndorsementKey::ExportPublicKey method (certenroll.h)

Exports the endorsement public key. You can only call the ExportPublicKey method after the Open method has been successfully called.

Syntax

HRESULT ExportPublicKey(
  [out, retval] IX509PublicKey **ppPublicKey
);

Parameters

[out, retval] ppPublicKey

The exported endorsement public key.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header certenroll.h
DLL Certenroll.dll

See also

IX509EndorsementKey