public abstract class Asn1Object extends Object
| Constructor and Description |
|---|
Asn1Object(int tag)
Constructor with a tag
|
Asn1Object(Tag tag)
Constructor with a tag
|
Asn1Object(UniversalTag tag)
Default constructor with an universal tag.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
getBodyLength() |
protected abstract int |
getHeaderLength() |
boolean |
isAppSpecific() |
boolean |
isCollection() |
boolean |
isContextSpecific() |
boolean |
isEOC() |
boolean |
isNull() |
boolean |
isPrimitive() |
boolean |
isSimple() |
boolean |
isTagSpecific() |
boolean |
isUniversal() |
protected String |
simpleInfo() |
Tag |
tag() |
int |
tagFlags() |
int |
tagNo() |
void |
usePrimitive(boolean isPrimitive) |
public Asn1Object(Tag tag)
tag - The tagpublic Asn1Object(UniversalTag tag)
tag - the tagpublic Asn1Object(int tag)
tag - The tagpublic Tag tag()
public int tagFlags()
public int tagNo()
public void usePrimitive(boolean isPrimitive)
public boolean isPrimitive()
public boolean isUniversal()
public boolean isAppSpecific()
public boolean isContextSpecific()
public boolean isTagSpecific()
public boolean isEOC()
public boolean isNull()
public boolean isSimple()
public boolean isCollection()
protected abstract int getHeaderLength()
throws IOException
IOExceptionprotected abstract int getBodyLength()
throws IOException
IOExceptionprotected String simpleInfo()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.