Package com.itextpdf.bouncycastle.asn1
Class ASN1TaggedObjectBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1TaggedObjectBC
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1Primitive
,IASN1TaggedObject
- Direct Known Subclasses:
-
DERTaggedObjectBC
Wrapper class for
ASN1TaggedObject
.
-
Constructor Summary
ConstructorDescriptionASN1TaggedObjectBC
(org.bouncycastle.asn1.ASN1TaggedObject taggedObject) Creates new wrapper instance forASN1TaggedObject
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1TaggedObject
Gets actual org.bouncycastle object being wrapped.Calls actualgetObject
method for the wrapped ASN1TaggedObject object.int
getTagNo()
Calls actualgetTagNo
method for the wrapped ASN1TaggedObject 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
-
ASN1TaggedObjectBC
public ASN1TaggedObjectBC(org.bouncycastle.asn1.ASN1TaggedObject taggedObject) Creates new wrapper instance forASN1TaggedObject
.- Parameters:
-
taggedObject
-ASN1TaggedObject
to be wrapped
-
-
Method Details
-
getASN1TaggedObject
public org.bouncycastle.asn1.ASN1TaggedObject getASN1TaggedObject()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1TaggedObject
.
-
getObject
Calls actualgetObject
method for the wrapped ASN1TaggedObject object.- Specified by:
-
getObject
in interfaceIASN1TaggedObject
- Returns:
-
IASN1Primitive
wrapped ASN1Primitive object.
-
getTagNo
public int getTagNo()Calls actualgetTagNo
method for the wrapped ASN1TaggedObject object.- Specified by:
-
getTagNo
in interfaceIASN1TaggedObject
- Returns:
- tagNo value.
-