Package com.itextpdf.text.pdf.security

Examples of com.itextpdf.text.pdf.security.ExternalDigest


        crlList.add(new CrlClientOnline(chain));
      }
    }

    // Creating the signature
    ExternalDigest digest = new BouncyCastleDigest();
    ExternalSignature signature = new PrivateKeySignature(pk, digestAlgorithm, null);
    MakeSignature.signDetached(appearance, digest, signature, chain, crlList,
       ocspClient, tsaClient, 0, subfilter);
  }
View Full Code Here


        providerName = BouncyCastleProviderHelper.PROVIDER_NAME;
      }

      ExternalSignature externalSignature = new PrivateKeySignature(privateKey, digestType.getAlgorithm(), providerName);

      ExternalDigest externalDigest = new BouncyCastleDigest();

      TSAClient tsc = null;
      if (this.parameters.getTimeStampClient() != null) {
        tsc = new DelegateTSAClient(this.parameters.getTimeStampClient(), digestType);
      }
View Full Code Here

        providerName = BouncyCastleProviderHelper.PROVIDER_NAME;
      }

      ExternalSignature externalSignature = new PrivateKeySignature(privateKey, digestType.getAlgorithm(), providerName);

      ExternalDigest externalDigest = new BouncyCastleDigest();

      TSAClient tsc = null;
      if (this.parameters.getTimeStampClient() != null) {
        tsc = new DelegateITextTSAClient(this.parameters.getTimeStampClient(), digestType);
      }
View Full Code Here

        providerName = BouncyCastleProviderHelper.PROVIDER_NAME;
      }

      ExternalSignature externalSignature = new PrivateKeySignature(privateKey, digestType.getAlgorithm(), providerName);

      ExternalDigest externalDigest = new BouncyCastleDigest();

      TSAClient tsc = null;
      if (this.parameters.getTimeStampClient() != null) {
        tsc = new DelegateITextTSAClient(this.parameters.getTimeStampClient(), digestType);
      }
View Full Code Here

TOP

Related Classes of com.itextpdf.text.pdf.security.ExternalDigest

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.