Package com.sun.pdfview.decrypt
package com.sun.pdfview.decrypt
-
ClassDescriptionImplements Version 4 standard decryption, whereby the Encrypt dictionary contains a list of named 'crypt filters', each of which is the equivalent of a
PDFDecrypter
.Identifies that the specified encryption mechanism, though supported by the product, is not supported by the platform that it is running on; i.e., that either the JCE does not support a required cipher or that its policy is such that a key of a given length can not be used.Identifies that the specified encryption mechanism is not supported by this product, that is, PDFRenderer, as opposed to alimitation in the platform
.Performs identity decryption; that is, inputs aren't encrypted and are returned right back.Identifies that the supplied password was incorrect or non-existent and required.A decrypter decrypts streams and strings in a PDF document.Produces aPDFDecrypter
for documents given a (possibly non-existent) Encrypt dictionary.Identifies a PDF Password, expressible either as a string or a byte sequence.Converts strings to byte by employing aCharsetEncoder
and a configurable mechanism to replace or ignore characters that are unrepresentable according to the encoder.Generate byte[] representations based on a Unicode code point identity encoding; characters over 255 in value are considered unrepresentableConverts a string password to a byte[] representationGenerate byte[] representations based on the PDFDocEncodingStandard simple decrypter for versions 1, 2 and 4 of the Standard password-based decryption mechanisms, as described in section 3.5 of the PDF Reference version 1.7.Describes an encryption algorithm to be used, declaring not only the cipher type, but also key generation techniquesIdentifies that the specified encryption mechanism is not supported by this product or platform.