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

Examples of org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions


        if (signatureProperties != null && signatureProperties.isVisualSignEnabled())
        {
            try
            {
                options = new SignatureOptions();
                options.setVisualSignature(signatureProperties);
                // options.setPage(signatureProperties.getPage());
                // options.setPreferedSignatureSize(signatureProperties.getPreferredSize());
                doc.addSignature(signature, this, options);
            }
View Full Code Here


     * @param signatureInterface is a interface which provides signing capabilities
     * @throws IOException if there is an error creating required fields
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface) throws IOException
    {
        addSignature(sigObject, signatureInterface, new SignatureOptions());
    }
View Full Code Here

     * @throws SignatureException if something went wrong
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface)
            throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

    signature.setSignDate(Calendar.getInstance());

    // register signature dictionary and sign interface

    if (signatureProperties != null && signatureProperties.isVisualSignEnabled()) {
      options = new SignatureOptions();
      options.setVisualSignature(signatureProperties);
      // options.setPage(signatureProperties.getPage());
      // options.setPreferedSignatureSize(signatureProperties.getPreferredSize());
      doc.addSignature(signature, this, options);
    } else {
View Full Code Here

     * @throws SignatureException if something went wrong
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface)
            throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

        rootPages.updateCount();
    }

    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface) throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

        rootPages.updateCount();
    }

    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface) throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

     * @throws SignatureException if something went wrong
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface)
            throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

     * @throws SignatureException if something went wrong
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface)
            throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

     * @throws SignatureException if something went wrong
     */
    public void addSignature(PDSignature sigObject, SignatureInterface signatureInterface)
            throws IOException, SignatureException
    {
        SignatureOptions defaultOptions = new SignatureOptions();
        defaultOptions.setPage(1);
        addSignature(sigObject, signatureInterface,defaultOptions);
    }
View Full Code Here

TOP

Related Classes of org.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions

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.