In a signing application only a digest of the PDF contents are processed by RSA. A digest is produced by processing the serialized contents of the PDF with a hashing function to produce a "fingerprint" of a small fixed size (128 bits). PKCS supports a variety of hashing functions including SHA1 and MD5. These functions are designed to minimize the possibility of a file with different contents having the same digest.