Class AttributeTableBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.cms.AttributeTableBC
-
- All Implemented Interfaces:
IAttributeTable
public class AttributeTableBC extends java.lang.Object implements IAttributeTable
Wrapper class forAttributeTable.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.asn1.cms.AttributeTableattributeTable
-
Constructor Summary
Constructors Constructor Description AttributeTableBC(org.bouncycastle.asn1.ASN1Set set)Creates new wrapper instance forAttributeTable.AttributeTableBC(org.bouncycastle.asn1.cms.AttributeTable attributeTable)Creates new wrapper instance forAttributeTable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.IAttributeget(IASN1ObjectIdentifier oid)Calls actualgetmethod for the wrapped AttributeTable object.org.bouncycastle.asn1.cms.AttributeTablegetAttributeTable()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Constructor Detail
-
AttributeTableBC
public AttributeTableBC(org.bouncycastle.asn1.cms.AttributeTable attributeTable)
Creates new wrapper instance forAttributeTable.- Parameters:
attributeTable-AttributeTableto be wrapped
-
AttributeTableBC
public AttributeTableBC(org.bouncycastle.asn1.ASN1Set set)
Creates new wrapper instance forAttributeTable.- Parameters:
set-ASN1Setto createAttributeTable
-
-
Method Detail
-
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 actualgetmethod for the wrapped AttributeTable object.- Specified by:
getin interfaceIAttributeTable- Parameters:
oid- ASN1ObjectIdentifier wrapper- Returns:
IAttributewrapper for the received Attribute object.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-