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
ConstructorsConstructorDescriptionAttributeBC(org.bouncycastle.asn1.cms.Attribute attribute) Creates new wrapper instance forAttribute. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.cms.AttributeGets actual org.bouncycastle object being wrapped.Calls actualgetAttrValuesmethod for the wrapped Attribute object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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-Attributeto be wrapped
-
-
Method Details
-
getAttribute
public org.bouncycastle.asn1.cms.Attribute getAttribute()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
Attribute.
-
getAttrValues
Calls actualgetAttrValuesmethod for the wrapped Attribute object.- Specified by:
-
getAttrValuesin interfaceIAttribute - Returns:
-
IASN1Setwrapped attribute values.
-