Package com.itextpdf.bouncycastle.asn1
Class ASN1SetBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1SetBC
- All Implemented Interfaces:
-
IASN1Encodable,IASN1Primitive,IASN1Set
- Direct Known Subclasses:
-
DERSetBC
Wrapper class for
ASN1Set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1SetGets actual org.bouncycastle object being wrapped.getObjectAt(int index) Calls actualgetObjectAtmethod for the wrapped ASN1Set object.Calls actualgetObjectsmethod for the wrapped ASN1Set object.intsize()Calls actualsizemethod for the wrapped ASN1Set object.toArray()Calls actualtoArraymethod for the wrapped ASN1Set object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitiveMethods 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, toASN1PrimitiveMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1SetBC
public ASN1SetBC(org.bouncycastle.asn1.ASN1Set set) Creates new wrapper instance forASN1Set.- Parameters:
-
set-ASN1Setto be wrapped
-
ASN1SetBC
public ASN1SetBC(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean b) Creates new wrapper instance forASN1Set.- Parameters:
-
taggedObject-ASN1TaggedObjectto createASN1Setto be wrapped -
b- boolean to createASN1Setto be wrapped
-
-
Method Details
-
getASN1Set
public org.bouncycastle.asn1.ASN1Set getASN1Set()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Set.
-
getObjects
Calls actualgetObjectsmethod for the wrapped ASN1Set object.- Specified by:
-
getObjectsin interfaceIASN1Set - Returns:
- received objects.
-
size
public int size()Calls actualsizemethod for the wrapped ASN1Set object. -
getObjectAt
Calls actualgetObjectAtmethod for the wrapped ASN1Set object.- Specified by:
-
getObjectAtin interfaceIASN1Set - Parameters:
-
index- index - Returns:
-
IASN1Encodablewrapped ASN1Encodable object.
-
toArray
Calls actualtoArraymethod for the wrapped ASN1Set object.
-