congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JcaDigestCalculatorProviderBuilder.build
Code IndexAdd Tabnine to your IDE (free)

How to use
build
method
in
org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder

Best Java code snippets using org.spongycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder.build (Showing top 20 results out of 315)

origin: com.madgag.spongycastle/bcpkix-jdk15on

  /**
   * Return a HttpAuth implementing digest auth for the user, password, and realm combination.
   *
   * @return a HttpAuth object.
   * @throws OperatorCreationException if there is an issue setting up access to digest operators.
   */
  public HttpAuth build()
    throws OperatorCreationException
  {
    return new HttpAuth(realm, username, password, random, providerBuilder.build());
  }
}
origin: com.madgag.spongycastle/pkix

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/pkix

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/pkix

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().build();
  }
}
origin: com.madgag.spongycastle/pkix

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
  }
}
origin: com.madgag.spongycastle/pkix

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  DigestCalculatorProvider createDigestCalculatorProvider()
    throws OperatorCreationException
  {
    return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
  }
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
}
origin: com.madgag.spongycastle/pkix

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
}
origin: com.madgag.spongycastle/pkix

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
}
origin: com.madgag.spongycastle/pkix

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
}
origin: com.madgag.spongycastle/pkix

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(providerName).build();
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

DigestCalculatorProvider createDigestCalculatorProvider()
  throws OperatorCreationException
{
  return new JcaDigestCalculatorProviderBuilder().setProvider(provider).build();
}
origin: com.itextpdf/itextg

/**
 * Generates an OCSP request using BouncyCastle.
 *
 * @param issuerCert   certificate of the issues
 * @param serialNumber serial number
 * @return an OCSP request
 * @throws OCSPException
 * @throws IOException
 */
private static OCSPReq generateOCSPRequest(X509Certificate issuerCert, BigInteger serialNumber) throws OCSPException, IOException,
    OperatorException, CertificateEncodingException {
  //Add provider BC
  Security.addProvider(new org.spongycastle.jce.provider.BouncyCastleProvider());
  // Generate the id for the certificate we are looking for
  CertificateID id = new CertificateID(
      new JcaDigestCalculatorProviderBuilder().build().get(CertificateID.HASH_SHA1),
      new JcaX509CertificateHolder(issuerCert), serialNumber);
  // basic request generation with nonce
  OCSPReqBuilder gen = new OCSPReqBuilder();
  gen.addRequest(id);
  Extension ext = new Extension(OCSPObjectIdentifiers.id_pkix_ocsp_nonce, false, new DEROctetString(new DEROctetString(PdfEncryption.createDocumentId()).getEncoded()));
  gen.setRequestExtensions(new Extensions(new Extension[]{ext}));
  return gen.build();
}
org.spongycastle.operator.jcajceJcaDigestCalculatorProviderBuilderbuild

Popular methods of JcaDigestCalculatorProviderBuilder

  • <init>
  • setProvider

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now