Class ASN1TaggedObject
java.lang.Object
com.hierynomus.asn1.types.ASN1Object<ASN1Object>
com.hierynomus.asn1.types.constructed.ASN1TaggedObject
- All Implemented Interfaces:
ASN1Constructed
,Iterable<ASN1Object>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private ASN1Decoder
private boolean
private final ASN1Object
Fields inherited from class com.hierynomus.asn1.types.ASN1Object
tag
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ASN1TaggedObject
(ASN1Tag tag, byte[] bytes, ASN1Decoder decoder) ASN1TaggedObject
(ASN1Tag tag, ASN1Object object) ASN1TaggedObject
(ASN1Tag tag, ASN1Object object, boolean explicit) -
Method Summary
Modifier and TypeMethodDescription<T extends ASN1Object>
Tint
getTagNo()
Returns the identifying tag number of this ASN.1 Tagged Object.getValue()
boolean
iterator()
toString()
Methods inherited from class com.hierynomus.asn1.types.ASN1Object
equals, getTag, hashCode, valueString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
object
-
bytes
private byte[] bytes -
decoder
-
explicit
private boolean explicit
-
-
Constructor Details
-
ASN1TaggedObject
-
ASN1TaggedObject
-
ASN1TaggedObject
-
-
Method Details
-
isExplicit
public boolean isExplicit() -
getValue
- Specified by:
getValue
in classASN1Object<ASN1Object>
-
getTagNo
public int getTagNo()Returns the identifying tag number of this ASN.1 Tagged Object.- Returns:
- the tag number.
-
iterator
- Specified by:
iterator
in interfaceIterable<ASN1Object>
-
getObject
-
getObject
-
toString
- Overrides:
toString
in classASN1Object<ASN1Object>
-