Class AttributeBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.cms.AttributeBC
- All Implemented Interfaces:
-
IAttribute
,IASN1Encodable
Wrapper class for
Attribute
.
-
Constructor Summary
ConstructorDescriptionAttributeBC
(org.bouncycastle.asn1.cms.Attribute attribute) Creates new wrapper instance forAttribute
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.cms.Attribute
Gets actual org.bouncycastle object being wrapped.Calls actualgetAttrValues
method for the wrapped Attribute object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
AttributeBC
public AttributeBC(org.bouncycastle.asn1.cms.Attribute attribute) Creates new wrapper instance forAttribute
.- 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
Calls actualgetAttrValues
method for the wrapped Attribute object.- Specified by:
-
getAttrValues
in interfaceIAttribute
- Returns:
-
IASN1Set
wrapped attribute values.
-