| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| pack-priv final int | |
| pack-priv final ASN1Encodable | |
| private static final int | |
| private static final int | |
| pack-priv final int | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| protected | ASN1TaggedObject(boolean
true if the object is explicitly tagged. explicit, int the tag number for this object. tagNo, ASN1Encodable the tagged object. obj)Create a tagged object with the style given by the value of explicit. |
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final boolean | asn1Equals(ASN1Primitive other)
Implements abstract org. |
| private static ASN1TaggedObject | |
| pack-priv static ASN1Primitive | |
| pack-priv static ASN1Primitive | |
| pack-priv static ASN1Primitive | |
| public ASN1Object | |
| public ASN1Primitive | getBaseUniversal(boolean
Whether the tagged type for this object was declared
EXPLICIT. declaredExplicit, int The universal tagNo)tag number of the
expected base object.Note tagged objects are generally context dependent. |
| pack-priv ASN1Primitive | |
| public ASN1Object | |
| public ASN1TaggedObject | |
| public ASN1TaggedObject | |
| public static ASN1TaggedObject | |
| public static ASN1TaggedObject | |
| public static ASN1TaggedObject | |
| public static ASN1TaggedObject | |
| public final ASN1Primitive | getLoadedObject()
Implements org. |
| public int | getTagClass()
Implements org. |
| public int | Returns: the tag number.Implements org. |
| public boolean | |
| public boolean | |
| public int | hashCode()
Implements abstract org. |
| public boolean | |
| public boolean | |
| public boolean | |
| pack-priv boolean | |
| public ASN1Encodable | parseBaseUniversal(boolean declaredExplicit, int baseTagNo)
Implements org. |
| public ASN1Encodable | parseExplicitBaseObject()
Implements org. |
| public ASN1TaggedObjectParser | |
| public ASN1TaggedObjectParser | parseImplicitBaseTagged(int baseTagClass, int baseTagNo)
Implements org. |
| pack-priv abstract ASN1Sequence | |
| pack-priv abstract ASN1TaggedObject | |
| pack-priv ASN1Primitive | toDERObject()
Return the current object as one which encodes using Distinguished Encoding Rules.
|
| pack-priv ASN1Primitive | toDLObject()
Return the current object as one which encodes using Definite Length encoding.
|
| public String |
| DECLARED_EXPLICIT | back to summary |
|---|---|
| private static final int DECLARED_EXPLICIT | |
| DECLARED_IMPLICIT | back to summary |
|---|---|
| private static final int DECLARED_IMPLICIT | |
| explicitness | back to summary |
|---|---|
| pack-priv final int explicitness | |
| obj | back to summary |
|---|---|
| pack-priv final ASN1Encodable obj | |
| PARSED_EXPLICIT | back to summary |
|---|---|
| private static final int PARSED_EXPLICIT | |
| PARSED_IMPLICIT | back to summary |
|---|---|
| private static final int PARSED_IMPLICIT | |
| tagClass | back to summary |
|---|---|
| pack-priv final int tagClass | |
| tagNo | back to summary |
|---|---|
| pack-priv final int tagNo | |
| ASN1TaggedObject | back to summary |
|---|---|
| protected ASN1TaggedObject(boolean explicit, int tagNo, ASN1Encodable obj) Create a tagged object with the style given by the value of explicit. If the object implements ASN1Choice the tag style will always be changed to explicit in accordance with the ASN.1 encoding rules.
| |
| ASN1TaggedObject | back to summary |
|---|---|
| protected ASN1TaggedObject(boolean explicit, int tagClass, int tagNo, ASN1Encodable obj) | |
| ASN1TaggedObject | back to summary |
|---|---|
| pack-priv ASN1TaggedObject(int explicitness, int tagClass, int tagNo, ASN1Encodable obj) | |
| asn1Equals | back to summary |
|---|---|
| pack-priv final boolean asn1Equals(ASN1Primitive other) Implements abstract org. Doc from org. Equality (similarity) comparison for two ASN1Primitive objects. | |
| checkedCast | back to summary |
|---|---|
| private static ASN1TaggedObject checkedCast(ASN1Primitive primitive) | |
| createConstructedDL | back to summary |
|---|---|
| pack-priv static ASN1Primitive createConstructedDL(int tagClass, int tagNo, ASN1EncodableVector contentsElements) | |
| createConstructedIL | back to summary |
|---|---|
| pack-priv static ASN1Primitive createConstructedIL(int tagClass, int tagNo, ASN1EncodableVector contentsElements) | |
| createPrimitive | back to summary |
|---|---|
| pack-priv static ASN1Primitive createPrimitive(int tagClass, int tagNo, byte[] contentsOctets) | |
| getBaseObject | back to summary |
|---|---|
| public ASN1Object getBaseObject() Needed for open types, until we have better type-guided parsing support. Use sparingly for other
purposes, and prefer | |
| getBaseUniversal | back to summary |
|---|---|
| public ASN1Primitive getBaseUniversal(boolean declaredExplicit, int tagNo) Note tagged objects are generally context dependent. Before trying to
extract a tagged object this way, make sure you have checked that both the
| |
| getBaseUniversal | back to summary |
|---|---|
| pack-priv ASN1Primitive getBaseUniversal(boolean declaredExplicit, ASN1UniversalType universalType) | |
| getExplicitBaseObject | back to summary |
|---|---|
| public ASN1Object getExplicitBaseObject() Needed for open types, until we have better type-guided parsing support. Use
sparingly for other purposes, and prefer | |
| getExplicitBaseTagged | back to summary |
|---|---|
| public ASN1TaggedObject getExplicitBaseTagged() | |
| getImplicitBaseTagged | back to summary |
|---|---|
| public ASN1TaggedObject getImplicitBaseTagged(int baseTagClass, int baseTagNo) | |
| getInstance | back to summary |
|---|---|
| public static ASN1TaggedObject getInstance(Object obj) | |
| getInstance | back to summary |
|---|---|
| public static ASN1TaggedObject getInstance(Object obj, int tagClass) | |
| getInstance | back to summary |
|---|---|
| public static ASN1TaggedObject getInstance(Object obj, int tagClass, int tagNo) | |
| getInstance | back to summary |
|---|---|
| public static ASN1TaggedObject getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit) | |
| getLoadedObject | back to summary |
|---|---|
| public final ASN1Primitive getLoadedObject() Implements org. Doc from org. Get the in-memory representation of the ASN.1 object.
| |
| getTagClass | back to summary |
|---|---|
| public int getTagClass() Implements org. Doc from org. Return the tag class associated with this object.
| |
| getTagNo | back to summary |
|---|---|
| public int getTagNo() Implements org. Return the tag number associated with this object.
| |
| hasContextTag | back to summary |
|---|---|
| public boolean hasContextTag() Implements org. | |
| hasContextTag | back to summary |
|---|---|
| public boolean hasContextTag(int tagNo) Implements org. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasTag | back to summary |
|---|---|
| public boolean hasTag(int tagClass, int tagNo) Implements org. | |
| hasTagClass | back to summary |
|---|---|
| public boolean hasTagClass(int tagClass) Implements org. | |
| isExplicit | back to summary |
|---|---|
| public boolean isExplicit() return whether or not the object may be explicitly tagged. Note if the object has been read from an input stream, the only time you can be sure if isExplicit is returning the true state of affairs is if it returns false. An implicitly tagged object may appear to be explicitly tagged, so you need to understand the context under which the reading was done as well, see getObject below. | |
| isParsed | back to summary |
|---|---|
| pack-priv boolean isParsed() | |
| parseBaseUniversal | back to summary |
|---|---|
| public ASN1Encodable parseBaseUniversal(boolean declaredExplicit, int baseTagNo) throws IOException Implements org. | |
| parseExplicitBaseObject | back to summary |
|---|---|
| public ASN1Encodable parseExplicitBaseObject() throws IOException Implements org. Doc from org. Needed for open types, until we have better type-guided parsing support. Use sparingly for other
purposes, and prefer | |
| parseExplicitBaseTagged | back to summary |
|---|---|
| public ASN1TaggedObjectParser parseExplicitBaseTagged() throws IOException Implements org. | |
| parseImplicitBaseTagged | back to summary |
|---|---|
| public ASN1TaggedObjectParser parseImplicitBaseTagged(int baseTagClass, int baseTagNo) throws IOException Implements org. | |
| rebuildConstructed | back to summary |
|---|---|
| pack-priv abstract ASN1Sequence rebuildConstructed(ASN1Primitive primitive) | |
| replaceTag | back to summary |
|---|---|
| pack-priv abstract ASN1TaggedObject replaceTag(int tagClass, int tagNo) | |
| toDERObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDERObject() Overrides org. Doc from org. Return the current object as one which encodes using Distinguished Encoding Rules.
| |
| toDLObject | back to summary |
|---|---|
| pack-priv ASN1Primitive toDLObject() Overrides org. Doc from org. Return the current object as one which encodes using Definite Length encoding.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |