]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added new set accessor method for EncryptionParams.
authorAdrian Cumiskey <acumiskey@apache.org>
Mon, 7 Jul 2008 12:38:04 +0000 (12:38 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Mon, 7 Jul 2008 12:38:04 +0000 (12:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674470 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFRenderer.java

index c4f045786e7c5838dea2c0d03fb24571848febeb..1543652092ea360cf5ae1808825da5e4bd167e79 100644 (file)
@@ -1841,5 +1841,13 @@ public class PDFRenderer extends AbstractPathOrientedRenderer {
     public void setFilterMap(Map filterMap) {
         this.filterMap = filterMap;
     }
+
+    /**
+     * Sets the encryption parameters used by the PDF renderer.
+     * @param encryptionParams the encryption parameters 
+     */
+    public void setEncryptionParams(PDFEncryptionParams encryptionParams) {
+        this.encryptionParams = encryptionParams;
+    }
 }