Class AttributeTableBC

  • All Implemented Interfaces:
    IAttributeTable

    public class AttributeTableBC
    extends java.lang.Object
    implements IAttributeTable
    Wrapper class for AttributeTable.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.bouncycastle.asn1.cms.AttributeTable attributeTable  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      IAttribute get​(IASN1ObjectIdentifier oid)
      Calls actual get method for the wrapped AttributeTable object.
      org.bouncycastle.asn1.cms.AttributeTable getAttributeTable()
      Gets actual org.bouncycastle object being wrapped.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      java.lang.String toString()
      Delegates toString method call to the wrapped object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • attributeTable

        private final org.bouncycastle.asn1.cms.AttributeTable attributeTable
    • Constructor Detail

      • AttributeTableBC

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

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

      • getAttributeTable

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

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

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

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