Class PubSecHandlerUsingAes256

    • Constructor Detail

      • PubSecHandlerUsingAes256

        public PubSecHandlerUsingAes256​(PdfDictionary encryptionDictionary,
                                        java.security.cert.Certificate[] certs,
                                        int[] permissions,
                                        boolean encryptMetadata,
                                        boolean embeddedFilesOnly)
      • PubSecHandlerUsingAes256

        public PubSecHandlerUsingAes256​(PdfDictionary encryptionDictionary,
                                        java.security.Key certificateKey,
                                        java.security.cert.Certificate certificate,
                                        java.lang.String certificateKeyProvider,
                                        IExternalDecryptionProcess externalDecryptionProcess,
                                        boolean encryptMetadata)
    • Method Detail

      • setHashKeyForNextObject

        public void setHashKeyForNextObject​(int objNumber,
                                            int objGeneration)
        Description copied from class: SecurityHandler
        Note: For most of the supported security handlers algorithm to calculate encryption key for particular object is the same.
        Overrides:
        setHashKeyForNextObject in class PubSecHandlerUsingAes128
        Parameters:
        objNumber - number of particular object for encryption
        objGeneration - generation of particular object for encryption
      • setEncryptionDictEntries

        void setEncryptionDictEntries​(PdfDictionary encryptionDictionary,
                                      boolean encryptMetadata,
                                      boolean embeddedFilesOnly,
                                      int version,
                                      PdfName cryptFilter)