Class JcaX509CRLConverter

java.lang.Object
org.bouncycastle.cert.jcajce.JcaX509CRLConverter

public class JcaX509CRLConverter extends Object
Class for converting an X509CRLHolder into a corresponding X509CRL object tied to a particular JCA provider.
  • Constructor Details Link icon

    • JcaX509CRLConverter Link icon

      public JcaX509CRLConverter()
      Base constructor, configure with the default provider.
  • Method Details Link icon

    • setProvider Link icon

      public JcaX509CRLConverter setProvider(Provider provider)
      Set the provider to use from a Provider object.
      Parameters:
      provider - the provider to use.
      Returns:
      the converter instance.
    • setProvider Link icon

      public JcaX509CRLConverter setProvider(String providerName)
      Set the provider to use by name.
      Parameters:
      providerName - name of the provider to use.
      Returns:
      the converter instance.
    • getCRL Link icon

      public X509CRL getCRL(X509CRLHolder crlHolder) throws CRLException
      Use the configured converter to produce a X509CRL object from a X509CRLHolder object.
      Parameters:
      crlHolder - the holder to be converted
      Returns:
      a X509CRL object
      Throws:
      CRLException - if the conversion is unable to be made.