Package com.itextpdf.text.pdf.security

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


        if (urls.size() == 0) {
            return null;
        }

        // Query each OCSP responder until it gets a valid response.
        OcspClientBouncyCastle client = new OcspClientBouncyCastle();
        for (String url : urls) {
            BasicOCSPResp response = client.getBasicOCSPResp(certificate, issuerCertificate, url);
            if (response != null) {
                return response;
            }
        }
View Full Code Here


    // revocation list e relativo agent (non strettamente necessari) richiede Internet
    OcspClient ocspClient = null;
    if(useInternetCrl)
    {
      ocspClient = new OcspClientBouncyCastle();
      if(crlList == null)
      {
        crlList = new ArrayList<CrlClient>();
        crlList.add(new CrlClientOnline(chain));
      }
View Full Code Here

          }
        }

        if (parentCertificate != null) {
          if ((ocspUrl != null) && (ocspUrl.trim().length() > 0)) {
            ocsp = new OcspClientBouncyCastle();
          }
        }
      }

      MakeSignature.signDetached(appearance, externalDigest, externalSignature, chain, null, ocsp, tsc, 0, CryptoStandard.CMS);
View Full Code Here

          }
        }

        if (parentCertificate != null) {
          if ((ocspUrl != null) && (ocspUrl.trim().length() > 0)) {
            ocsp = new OcspClientBouncyCastle();
          }
        }
      }

      MakeSignature.signDetached(appearance, externalDigest, externalSignature, chain, null, ocsp, tsc, 0, CryptoStandard.CMS);
View Full Code Here

          }
        }

        if (parentCertificate != null) {
          if ((ocspUrl != null) && (ocspUrl.trim().length() > 0)) {
            ocsp = new OcspClientBouncyCastle();
          }
        }
      }

      MakeSignature.signDetached(appearance, externalDigest, externalSignature, chain, null, ocsp, tsc, 0, CryptoStandard.CMS);
View Full Code Here

TOP

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

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.