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
public class ASN1SetBC extends ASN1PrimitiveBC implements IASN1Set
Wrapper class forASN1Set
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1Set
getASN1Set()
Gets actual org.bouncycastle object being wrapped.IASN1Encodable
getObjectAt(int index)
Calls actualgetObjectAt
method for the wrapped ASN1Set object.java.util.Enumeration
getObjects()
Calls actualgetObjects
method for the wrapped ASN1Set object.int
size()
Calls actualsize
method for the wrapped ASN1Set object.IASN1Encodable[]
toArray()
Calls actualtoArray
method for the wrapped ASN1Set object.-
Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitive
-
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
-
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
-
-
-
Constructor Detail
-
ASN1SetBC
public ASN1SetBC(org.bouncycastle.asn1.ASN1Set set)
Creates new wrapper instance forASN1Set
.- Parameters:
set
-ASN1Set
to be wrapped
-
ASN1SetBC
public ASN1SetBC(org.bouncycastle.asn1.ASN1TaggedObject taggedObject, boolean b)
Creates new wrapper instance forASN1Set
.- Parameters:
taggedObject
-ASN1TaggedObject
to createASN1Set
to be wrappedb
- boolean to createASN1Set
to be wrapped
-
-
Method Detail
-
getASN1Set
public org.bouncycastle.asn1.ASN1Set getASN1Set()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ASN1Set
.
-
getObjects
public java.util.Enumeration getObjects()
Calls actualgetObjects
method for the wrapped ASN1Set object.- Specified by:
getObjects
in interfaceIASN1Set
- Returns:
- received objects.
-
size
public int size()
Calls actualsize
method for the wrapped ASN1Set object.
-
getObjectAt
public IASN1Encodable getObjectAt(int index)
Calls actualgetObjectAt
method for the wrapped ASN1Set object.- Specified by:
getObjectAt
in interfaceIASN1Set
- Parameters:
index
- index- Returns:
IASN1Encodable
wrapped ASN1Encodable object.
-
toArray
public IASN1Encodable[] toArray()
Calls actualtoArray
method for the wrapped ASN1Set object.
-
-