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

How to use
JcaContentVerifierProviderBuilder
in
org.spongycastle.operator.jcajce

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

origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().setProvider(provider).build(certificate);
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().build(publicKey);
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

public ContentVerifierProvider build(SubjectPublicKeyInfo publicKey)
  throws OperatorCreationException
{
  return this.build(helper.convertPublicKey(publicKey));
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

public JcaX509ContentVerifierProviderBuilder setProvider(Provider provider)
{
  this.builder.setProvider(provider);
  return this;
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

ContentVerifierProvider createContentVerifierProvider(X509CertificateHolder certHolder)
  throws OperatorCreationException, CertificateException
{
  return new JcaContentVerifierProviderBuilder().build(certHolder);
}
origin: com.madgag.spongycastle/pkix

public ContentVerifierProvider build(SubjectPublicKeyInfo publicKey)
  throws OperatorCreationException
{
  return this.build(helper.convertPublicKey(publicKey));
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

public JcaX509ContentVerifierProviderBuilder setProvider(String providerName)
{
  this.builder.setProvider(providerName);
  return this;
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().setProvider(provider).build(certificate);
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

ContentVerifierProvider createContentVerifierProvider(X509CertificateHolder certHolder)
  throws OperatorCreationException, CertificateException
{
  return new JcaContentVerifierProviderBuilder().build(certHolder);
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

  public ContentVerifierProvider build(X509CertificateHolder validatingKeyInfo)
    throws OperatorCreationException
  {
    try
    {
      return builder.build(validatingKeyInfo);
    }
    catch (CertificateException e)
    {
      throw new OperatorCreationException("Unable to process certificate: " + e.getMessage(), e);
    }
  }
}
origin: com.madgag.spongycastle/pkix

public JcaX509ContentVerifierProviderBuilder setProvider(Provider provider)
{
  this.builder.setProvider(provider);
  return this;
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(publicKey);
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().build(publicKey);
}
origin: com.madgag.spongycastle/pkix

  public ContentVerifierProvider build(X509CertificateHolder validatingKeyInfo)
    throws OperatorCreationException
  {
    try
    {
      return builder.build(validatingKeyInfo);
    }
    catch (CertificateException e)
    {
      throw new OperatorCreationException("Unable to process certificate: " + e.getMessage(), e);
    }
  }
}
origin: com.madgag.spongycastle/pkix

public JcaX509ContentVerifierProviderBuilder setProvider(String providerName)
{
  this.builder.setProvider(providerName);
  return this;
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().setProvider(providerName).build(certificate);
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().build(certificate);
}
origin: com.madgag.spongycastle/bcpkix-jdk15on

public ContentVerifierProvider build(final X509Certificate certificate)
  throws OperatorCreationException
{
  final X509CertificateHolder certHolder;
  try
  {
    certHolder = new JcaX509CertificateHolder(certificate);
  }
  catch (CertificateEncodingException e)
  {
    throw new OperatorCreationException("cannot process certificate: " + e.getMessage(), e);
  }
  return new ContentVerifierProvider()
  {
    private SignatureOutputStream stream;
    public boolean hasAssociatedCertificate()
    {
      return true;
    }
    public X509CertificateHolder getAssociatedCertificate()
    {
      return certHolder;
    }
    public ContentVerifier get(AlgorithmIdentifier algorithm)
      throws OperatorCreationException
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(PublicKey publicKey)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().setProvider(provider).build(publicKey);
}
origin: com.madgag.spongycastle/pkix

ContentVerifierProvider createContentVerifierProvider(X509Certificate certificate)
  throws OperatorCreationException
{
  return new JcaContentVerifierProviderBuilder().build(certificate);
}
org.spongycastle.operator.jcajceJcaContentVerifierProviderBuilder

Most used methods

  • <init>
  • build
  • setProvider

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Path (java.nio.file)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Join (org.hibernate.mapping)
  • Top Vim plugins
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