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
ConstructorsConstructorDescriptionASN1SequenceBCFips(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.ASN1SequenceGets actual org.bouncycastle object being wrapped.getObjectAt(int i) Calls actualgetObjectAtmethod for the wrapped ASN1Sequence object.Calls actualgetObjectsmethod for the wrapped ASN1Sequence object.intsize()Calls actualsizemethod for the wrapped ASN1Sequence object.toArray()Calls actualtoArraymethod for the wrapped ASN1Sequence object.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1PrimitiveBCFips
getEncoded, getEncoded, getPrimitiveMethods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
ASN1SequenceBCFips
public ASN1SequenceBCFips(org.bouncycastle.asn1.ASN1Sequence sequence) Creates new wrapper instance forASN1Sequence.- Parameters:
-
sequence-ASN1Sequenceto be wrapped
-
ASN1SequenceBCFips
Creates new wrapper instance forASN1Sequence.- Parameters:
-
obj- to getASN1Sequenceinstance to be wrapped
-
-
Method Details
-
getASN1Sequence
public org.bouncycastle.asn1.ASN1Sequence getASN1Sequence()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Sequence.
-
getObjectAt
Calls actualgetObjectAtmethod for the wrapped ASN1Sequence object.- Specified by:
-
getObjectAtin interfaceIASN1Sequence - Parameters:
-
i- index - Returns:
-
IASN1Encodablewrapped ASN1Encodable object.
-
getObjects
Calls actualgetObjectsmethod for the wrapped ASN1Sequence object.- Specified by:
-
getObjectsin interfaceIASN1Sequence - Returns:
- received objects.
-
size
public int size()Calls actualsizemethod for the wrapped ASN1Sequence object.- Specified by:
-
sizein interfaceIASN1Sequence - Returns:
- sequence size.
-
toArray
Calls actualtoArraymethod for the wrapped ASN1Sequence object.- Specified by:
-
toArrayin interfaceIASN1Sequence - Returns:
- array of wrapped ASN1Encodable objects.
-