Package org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible

Examples of org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigProperties


            FileInputStream image = new FileInputStream(args[3]);

            PDVisibleSignDesigner visibleSig = new PDVisibleSignDesigner(args[2], image, 1);
            visibleSig.xAxis(0).yAxis(0).zoom(-50).signatureFieldName("signature");

            PDVisibleSigProperties signatureProperties = new PDVisibleSigProperties();

            signatureProperties.signerName("name").signerLocation("location").signatureReason("Security").preferredSize(0)
                    .page(1).visualSignEnabled(true).setPdVisibleSignature(visibleSig).buildSignature();

            signing.signPDF(document, signatureProperties);
        }
    }
View Full Code Here


      FileInputStream image = new FileInputStream(args[3]);

      PDVisibleSignDesigner visibleSig = new PDVisibleSignDesigner(args[2], image, 1);
      visibleSig.xAxis(0).yAxis(0).zoom(-50).signatureFieldName("signature");

      PDVisibleSigProperties signatureProperties = new PDVisibleSigProperties();

      signatureProperties.signerName("name").signerLocation("location").signatureReason("Security").preferredSize(0)
          .page(1).visualSignEnabled(true).setPdVisibleSignature(visibleSig).buildSignature();

      signing.signPDF(document, signatureProperties);
    }
View Full Code Here

TOP

Related Classes of org.apache.pdfbox.pdmodel.interactive.digitalsignature.visible.PDVisibleSigProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.