Class JcaX509CertificateConverterBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cert.jcajce.JcaX509CertificateConverterBCFips
All Implemented Interfaces:
IJcaX509CertificateConverter

public class JcaX509CertificateConverterBCFips extends Object implements IJcaX509CertificateConverter
Wrapper class for JcaX509CertificateConverter.
  • Constructor Details

    • JcaX509CertificateConverterBCFips

      public JcaX509CertificateConverterBCFips (org.bouncycastle.cert.jcajce.JcaX509CertificateConverter certificateConverter)
      Creates new wrapper instance for JcaX509CertificateConverter.
      Parameters:
      certificateConverter - JcaX509CertificateConverter to be wrapped
  • Method Details

    • getCertificateConverter

      public org.bouncycastle.cert.jcajce.JcaX509CertificateConverter getCertificateConverter()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped JcaX509CertificateConverter.
    • getCertificate

      public X509Certificate getCertificate (IX509CertificateHolder certificateHolder) throws CertificateException
      Calls actual getCertificate method for the wrapped JcaX509CertificateConverter object.
      Specified by:
      getCertificate in interface IJcaX509CertificateConverter
      Parameters:
      certificateHolder - X509CertificateHolder wrapper
      Returns:
      received X509Certificate.
      Throws:
      CertificateException - indicates certificate problems.
    • setProvider

      public IJcaX509CertificateConverter setProvider (Provider provider)
      Calls actual setProvider method for the wrapped JcaX509CertificateConverter object.
      Specified by:
      setProvider in interface IJcaX509CertificateConverter
      Parameters:
      provider - provider to set
      Returns:
      IJcaX509CertificateConverter this wrapped object.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object