Class X509CertificateHolderBC

java.lang.Object
com.itextpdf.bouncycastle.cert.X509CertificateHolderBC
All Implemented Interfaces:
IX509CertificateHolder
Direct Known Subclasses:
JcaX509CertificateHolderBC

public class X509CertificateHolderBC extends Object implements IX509CertificateHolder
Wrapper class for X509CertificateHolder.
  • Constructor Summary

    Constructors
    Constructor
    Description
    X509CertificateHolderBC(byte[] bytes)
    Creates new wrapper instance for X509CertificateHolder.
    X509CertificateHolderBC(org.bouncycastle.cert.X509CertificateHolder certificateHolder)
    Creates new wrapper instance for X509CertificateHolder.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.cert.X509CertificateHolder
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • X509CertificateHolderBC

      public X509CertificateHolderBC (org.bouncycastle.cert.X509CertificateHolder certificateHolder)
      Creates new wrapper instance for X509CertificateHolder.
      Parameters:
      certificateHolder - X509CertificateHolder to be wrapped
    • X509CertificateHolderBC

      public X509CertificateHolderBC (byte[] bytes) throws IOException
      Creates new wrapper instance for X509CertificateHolder.
      Parameters:
      bytes - bytes array to create X509CertificateHolder to be wrapped
      Throws:
      IOException - X509CertificateHolder object cannot be created from byte array.
  • Method Details

    • getCertificateHolder

      public org.bouncycastle.cert.X509CertificateHolder getCertificateHolder()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped X509CertificateHolder.
    • 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