File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
examples/src/test/java/org/apache/pdfbox/examples/pdmodel Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -936,7 +936,7 @@ private void checkLTV(File outFile)
936936 byte [] contents = signature .getContents ();
937937 PDDocumentCatalog docCatalog = doc .getDocumentCatalog ();
938938 COSDictionary dssDict = docCatalog .getCOSObject ().getCOSDictionary (COSName .getPDFName ("DSS" ));
939- COSArray dssCertArray = dssDict .getCOSArray (COSName .getPDFName ( "Certs" ) );
939+ COSArray dssCertArray = dssDict .getCOSArray (COSName .CERTS );
940940 COSDictionary vriDict = dssDict .getCOSDictionary (COSName .getPDFName ("VRI" ));
941941 // Check that all known signature certificates are in the VRI/signaturehash/Cert array
942942 byte [] signatureHash = MessageDigest .getInstance ("SHA-1" ).digest (contents );
You can’t perform that action at this time.
0 commit comments