THotPDF.VerifyLoadedSignature

THotPDF

 

Top  Previous  Next

Verifica per indice una specifica firma CMS caricata o un timestamp del documento RFC 3161

 

Sintassi Delphi:

function VerifyLoadedSignature( SigIndex: Integer ): THPDFSignatureVerifyStatus; overload;

function VerifyLoadedSignature( SigIndex: Integer; Source: TStream ): THPDFSignatureVerifyStatus; overload;

function VerifyLoadedSignature( SigIndex: Integer; Sorgente: TStream; out Info: THPDFSignatureInfo ): THPDFSignatureVerifyStatus; overload;

 

Descrizione

Valida gli attributi firmati CMS e un PDF rigoroso /ByteRange contro il contenuto del documento preservando la posizione dello stream del chiamante

Supporta RSA PKCS#1 v1.5, RSA-PSS con hash, MGF1, lunghezza salt e parametri trailer validati, ed ECDSA P-256, P-384 e P-521 con SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384 o SHA3-512

For ETSI.RFC3161 timestamp del documento, valida la firma del token e lega il suo message imprint al PDF /ByteRange; for a CMS signature-time-stamp , lega il token annidato al valore della firma padre

Un timestamp valido fornisce la SigningTime, mentre la validazione della catena di certificati e delle policy di fiducia resta responsabilità del chiamante

Restituisce svInvalidByteRange for overlapping, out-of-bounds, truncated, or ambiguous signed ranges

I certificati dei firmatari ECDSA possono essere selezionati tramite issuer-and-serial o SubjectKeyIdentifier

 

Vedi anche: THotPDF