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
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Set
Gets actual org.bouncycastle object being wrapped.getObjectAt
(int index) Calls actualgetObjectAt
method for the wrapped ASN1Set object.Calls actualgetObjects
method for the wrapped ASN1Set object.int
size()
Calls actualsize
method for the wrapped ASN1Set object.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 Details
-
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 wrapped -
b
- boolean to createASN1Set
to be wrapped
-
-
Method Details
-
getASN1Set
public org.bouncycastle.asn1.ASN1Set getASN1Set()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Set
.
-
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
Calls actualgetObjectAt
method for the wrapped ASN1Set object.- Specified by:
-
getObjectAt
in interfaceIASN1Set
- Parameters:
-
index
- index - Returns:
-
IASN1Encodable
wrapped ASN1Encodable object.
-
toArray
Calls actualtoArray
method for the wrapped ASN1Set object.
-