signature:array[0..4095] of char;
...
//memset(signature, '/0', signature_length);
ZeroMemory(@signature[0],signature_length);
//memset(certificate, '/0', certificate_length);
ZeroMemory(@certificate[0],certificate_length);
{errorCode = CFCA_VerifySignedDataDetached(
signature,
signature_length,
content,
&content_length,
certificate,
&certificate_length,
verify_handle);}
errorCode := CFCA_VerifySignedDataDetached(
@signature[0],
signature_length,
@content[0],
content_length,
@certificate[0],
certificate_length,
verify_handle);
function CFCA_VerifySignedDataDetached(
signature: PChar;
signatureLength: Integer;
originalData: PChar;
var originalDataLength: ShortInt;
certificate: PChar;
var certificateLength: Integer;
toolkitHandle: HCFCAToolkit):ShortInt;