GetDeviceCertificate

Declaration

Delphi

function GetDeviceCertificate(var outLen: Integer): Pointer;

C/C++

SOPAD_API LPVOID SOPAD_GetDeviceCertificate(int* outLen);

ActiveX

HRESULT GetDeviceCertificate([out, retval] VARIANT* Result);

Description

Function retrieves digital certificate from device or returns software-generated certificate in case emulation mode is on.

Arguments

outLen

Certificate size in bytes.

Return value

Pointer to memory block with device certificate. For ActiveX - single-dimensional array.