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 classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]private ASN1Decoderprivate booleanprivate final ASN1ObjectFields inherited from class ASN1Object
tag -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateASN1TaggedObject(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>
TintgetTagNo()Returns the identifying tag number of this ASN.1 Tagged Object.getValue()booleaniterator()toString()Methods inherited from class ASN1Object
equals, getTag, hashCode, valueStringMethods inherited from interface 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:
getValuein classASN1Object<ASN1Object>
-
getTagNo
public int getTagNo()Returns the identifying tag number of this ASN.1 Tagged Object.- Returns:
- the tag number.
-
iterator
- Specified by:
iteratorin interfaceIterable<ASN1Object>
-
getObject
-
getObject
-
toString
- Overrides:
toStringin classASN1Object<ASN1Object>
-