/
OnGetDeviceXMLCertificate
OnGetDeviceXMLCertificate
Declaration
Delphi
procedure OnGetDeviceXMLCertificate(out Certificate: OleVariant);
ActiveX
HRESULT OnGetDeviceXMLCertificate([out] VARIANT* Certificate);
Description
This function should read the device XML certificate from the device driver and return it to the API.
Use Signapi with date 17.10.2024 or later (V4.14)
Samples:
C#
void axSignApi4_OnGetDeviceXMLCertificate(object sender, IStepOverSignatureAPIv4Events_OnGetDeviceXMLCertificateEvent e) { e.certificate = SigDev.GetDriverString(3); }
VB.net
Private Sub signapi4_OnGetDeviceXMLCertificate(ByVal Certificate As Object) Certificate = mSignaturDevice.GetDriverString(3) End Sub
Delphi
procedure TForm1.SignApiGetDeviceXMLCertificate(Sender: TObject; TypeOfPic: Integer; out Certificate: OleVariant); begin Certificate := StepOverSignatureDevice1.GetDriverString(3); end;
VB6
Private Sub signapi4_OnGetDeviceXMLCertificate(Certificate As Variant) Certificate = sigdev.GetDriverString(3) End Sub