Class AttributeTableBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.cms.AttributeTableBCFips
All Implemented Interfaces:
IAttributeTable

public class AttributeTableBCFips extends Object implements IAttributeTable
Wrapper class for AttributeTable.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AttributeTableBCFips(org.bouncycastle.asn1.ASN1Set set)
    Creates new wrapper instance for AttributeTable.
    AttributeTableBCFips(org.bouncycastle.asn1.cms.AttributeTable attributeTable)
    Creates new wrapper instance for AttributeTable.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    Calls actual get method for the wrapped AttributeTable object.
    org.bouncycastle.asn1.cms.AttributeTable
    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

    • AttributeTableBCFips

      public AttributeTableBCFips (org.bouncycastle.asn1.cms.AttributeTable attributeTable)
      Creates new wrapper instance for AttributeTable.
      Parameters:
      attributeTable - AttributeTable to be wrapped
    • AttributeTableBCFips

      public AttributeTableBCFips (org.bouncycastle.asn1.ASN1Set set)
      Creates new wrapper instance for AttributeTable.
      Parameters:
      set - ASN1Set to create AttributeTable
  • Method Details

    • getAttributeTable

      public org.bouncycastle.asn1.cms.AttributeTable getAttributeTable()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped AttributeTable.
    • get

      public IAttribute get (IASN1ObjectIdentifier oid)
      Calls actual get method for the wrapped AttributeTable object.
      Specified by:
      get in interface IAttributeTable
      Parameters:
      oid - ASN1ObjectIdentifier wrapper
      Returns:
      IAttribute wrapper for the received Attribute 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