public class Asn1DerEncodeBuffer extends Asn1BerEncodeBuffer
mByteIndex, mData
INITIAL_SIZE
context, mTypeCode
Constructor and Description |
---|
Asn1DerEncodeBuffer()
This constructor creates a DER encode buffer object with the
default size.
|
Asn1DerEncodeBuffer(int size)
This constructor creates a DER encode buffer object with the
given initial size.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBER()
This method returns true when the underlying buffer is a BER buffer.
|
binDump, binDump, checkSize, encodeIdentifier, encodeIdentifier, encodeIntValue, encodeLength, encodeTag, encodeTag, encodeTagAndLength, encodeTagAndLength
copy, copy, copy, copy, getByteArrayInputStream, getMsgCopy, getMsgLength, initBuffer, reset, toString, write
binDump, encodeIntSigned, encodeIntUnsigned, getInputStream, getMinimalOctetsSigned, getMinimalOctetsUnsigned, getOutputStream, hexDump, hexDump
addNamedEventHandler, getEventHandlerListCount, hasEventHandlers, invokeCharacters, invokeEndElement, invokeStartElement, setEventHandlerList
getContext, hexDump, hexDump, setKey, setTypeCode
public Asn1DerEncodeBuffer()
public Asn1DerEncodeBuffer(int size)
size
- The initial size in bytes of an encode buffer.public boolean isBER()
isBER
in class Asn1BerEncodeBuffer