Class AttributeBC

java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.cms.AttributeBC
All Implemented Interfaces:
IAttribute, IASN1Encodable

public class AttributeBC extends ASN1EncodableBC implements IAttribute
Wrapper class for Attribute.
  • Constructor Details

    • AttributeBC

      public AttributeBC (org.bouncycastle.asn1.cms.Attribute attribute)
      Creates new wrapper instance for Attribute.
      Parameters:
      attribute - Attribute to be wrapped
  • Method Details

    • getAttribute

      public org.bouncycastle.asn1.cms.Attribute getAttribute()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped Attribute.
    • getAttrValues

      public IASN1Set getAttrValues()
      Calls actual getAttrValues method for the wrapped Attribute object.
      Specified by:
      getAttrValues in interface IAttribute
      Returns:
      IASN1Set wrapped attribute values.