THotPDF.GetLoadedSignatureQCStatements Method

Deklaration

function GetLoadedSignatureQCStatements(SigIndex: Integer;
  out Info: THPDFQCStatementInfo): boolean;

Verhalten

eIDAS qualified-certificate evaluation of one loaded signature: reports the ETSI EN 319 412-5 QCStatements of the signer certificate, including QcCompliance, QcSSCD, the QcType values, QcLimitValue, and the PDS locations, plus the TS 119 495 PSD2 payer and payee roles

PSD2-Statement

Das PSD2-QCStatement (0.4.0.19495.2) trägt einen PSD2QcType: die Rollen, für die der Zahlungsdienstleister autorisiert ist, den Namen der nationalen zuständigen Behörde (NCA) und den NCA-Bezeichner. Gemeldet wird es über diese Felder von THPDFQCStatementInfo:

Um einen bereits als DER vorliegenden PSD2QcType zu parsen, rufen Sie HPDFParsePSD2QcStatement aus der Unit HPDFSignVerify auf. Er füllt einen THPDFPSD2QcStatement und liefert bei jeder fehlerhaften Eingabe false

var
  Info: THPDFQCStatementInfo;
  I: Integer;
begin
  if HotPDF1.GetLoadedSignatureQCStatements(0, Info) and Info.HasPSD2Statement then
  begin
    for I:= 0 to High(Info.PSD2RolesOfPSP) do
      Writeln(Info.PSD2RolesOfPSP[I].Name, ' (', Info.PSD2RolesOfPSP[I].OID, ')');
    Writeln('NCA: ', Info.PSD2NCAName, ' / ', Info.PSD2NCAId);
  end;
end;

Heuristik für qualifizierte Signaturen

QualifiedSignatureLikely marks the eIDAS 910/2014 Annex IV heuristic of QcCompliance plus QcSSCD; a false value is not proof of a non-qualified signature, because the QTSP service trust decision stays with the caller. Returns false when the signature carries no usable certificate

See also GetLoadedSignatureInfo, Batch Signature Validation