public abstract class Asn1ParseResult extends Asn1Object
| Constructor and Description |
|---|
Asn1ParseResult(Asn1Header header,
int bodyStart,
ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkBodyFinished(int pos) |
ByteBuffer |
getBodyBuffer() |
int |
getBodyEnd() |
int |
getBodyLength() |
int |
getBodyStart() |
ByteBuffer |
getBuffer() |
int |
getEncodingLength() |
Asn1Header |
getHeader() |
int |
getHeaderLength() |
int |
getOffset() |
boolean |
isDefinitiveLength() |
byte[] |
readBodyBytes() |
void |
setBodyEnd(int bodyEnd) |
String |
simpleInfo() |
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isPrimitive, isSimple, isTagSpecific, isUniversal, tag, tagFlags, tagNo, usePrimitivepublic Asn1ParseResult(Asn1Header header, int bodyStart, ByteBuffer buffer)
public Asn1Header getHeader()
public int getBodyStart()
public int getBodyEnd()
public void setBodyEnd(int bodyEnd)
public ByteBuffer getBuffer()
public ByteBuffer getBodyBuffer()
public byte[] readBodyBytes()
public boolean isDefinitiveLength()
public int getEncodingLength()
public int getHeaderLength()
getHeaderLength in class Asn1Objectpublic int getOffset()
public int getBodyLength()
getBodyLength in class Asn1Objectpublic boolean checkBodyFinished(int pos)
public String simpleInfo()
simpleInfo in class Asn1ObjectCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.