Class ASN1SequenceBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
com.itextpdf.bouncycastlefips.asn1.ASN1SequenceBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Primitive
,IASN1Sequence
- Direct Known Subclasses:
-
DERSequenceBCFips
Wrapper class for
ASN1Sequence
.
-
Constructor Summary
ConstructorDescriptionASN1SequenceBCFips
(Object obj) Creates new wrapper instance forASN1Sequence
.ASN1SequenceBCFips
(org.bouncycastle.asn1.ASN1Sequence sequence) Creates new wrapper instance forASN1Sequence
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Sequence
Gets actual org.bouncycastle object being wrapped.getObjectAt
(int i) Calls actualgetObjectAt
method for the wrapped ASN1Sequence object.Calls actualgetObjects
method for the wrapped ASN1Sequence object.int
size()
Calls actualsize
method for the wrapped ASN1Sequence object.toArray()
Calls actualtoArray
method for the wrapped ASN1Sequence object.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
getEncoded, getEncoded, getPrimitive
Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
ASN1SequenceBCFips
public ASN1SequenceBCFips(org.bouncycastle.asn1.ASN1Sequence sequence) Creates new wrapper instance forASN1Sequence
.- Parameters:
-
sequence
-ASN1Sequence
to be wrapped
-
ASN1SequenceBCFips
Creates new wrapper instance forASN1Sequence
.- Parameters:
-
obj
- to getASN1Sequence
instance to be wrapped
-
-
Method Details
-
getASN1Sequence
public org.bouncycastle.asn1.ASN1Sequence getASN1Sequence()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Sequence
.
-
getObjectAt
Calls actualgetObjectAt
method for the wrapped ASN1Sequence object.- Specified by:
-
getObjectAt
in interfaceIASN1Sequence
- Parameters:
-
i
- index - Returns:
-
IASN1Encodable
wrapped ASN1Encodable object.
-
getObjects
Calls actualgetObjects
method for the wrapped ASN1Sequence object.- Specified by:
-
getObjects
in interfaceIASN1Sequence
- Returns:
- received objects.
-
size
public int size()Calls actualsize
method for the wrapped ASN1Sequence object.- Specified by:
-
size
in interfaceIASN1Sequence
- Returns:
- sequence size.
-
toArray
Calls actualtoArray
method for the wrapped ASN1Sequence object.- Specified by:
-
toArray
in interfaceIASN1Sequence
- Returns:
- array of wrapped ASN1Encodable objects.
-