Package com.sun.pdfview.decrypt
-
Interface Summary Interface Description PDFDecrypter A decrypter decrypts streams and strings in a PDF document.PDFPassword.PasswordByteGenerator Converts a string password to a byte[] representation -
Class Summary Class Description CryptFilterDecrypter Implements Version 4 standard decryption, whereby the Encrypt dictionary contains a list of named 'crypt filters', each of which is the equivalent of aPDFDecrypter
.IdentityDecrypter Performs identity decryption; that is, inputs aren't encrypted and are returned right back.PDFDecrypterFactory Produces aPDFDecrypter
for documents given a (possibly non-existent) Encrypt dictionary.PDFPassword Identifies a PDF Password, expressible either as a string or a byte sequence.PDFPassword.CharsetEncoderGenerator Converts strings to byte by employing aCharsetEncoder
and a configurable mechanism to replace or ignore characters that are unrepresentable according to the encoder.PDFPassword.IdentityEncodingByteGenerator Generate byte[] representations based on a Unicode code point identity encoding; characters over 255 in value are considered unrepresentablePDFPassword.PDFDocEncodingByteGenerator Generate byte[] representations based on the PDFDocEncodingStandardDecrypter Standard 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. -
Enum Summary Enum Description StandardDecrypter.EncryptionAlgorithm Describes an encryption algorithm to be used, declaring not only the cipher type, but also key generation techniques -
Exception Summary Exception Description EncryptionUnsupportedByPlatformException 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.EncryptionUnsupportedByProductException Identifies that the specified encryption mechanism is not supported by this product, that is, PDFRenderer, as opposed to alimitation in the platform
.PDFAuthenticationFailureException Identifies that the supplied password was incorrect or non-existent and required.UnsupportedEncryptionException Identifies that the specified encryption mechanism is not supported by this product or platform.