Package org.wildfly.security.asn1
Class DEREncoder.EncoderState
- java.lang.Object
-
- org.wildfly.security.asn1.DEREncoder.EncoderState
-
- Enclosing class:
- DEREncoder
private class DEREncoder.EncoderState extends Object
A class used to maintain state information during DER encoding.
-
-
Field Summary
Fields Modifier and Type Field Description private int
bufferPos
private LinkedList<DEREncoder.EncoderState>
childElements
private int
childLength
private int
tag
-
Constructor Summary
Constructors Constructor Description EncoderState(int tag, int bufferPos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildElement(int tag, int bufferPos)
void
addChildLength(int length)
org.wildfly.common.bytes.ByteStringBuilder
getBuffer()
int
getBufferPos()
int
getChildLength()
LinkedList<DEREncoder.EncoderState>
getSortedChildElements(Comparator<DEREncoder.EncoderState> comparator)
int
getTag()
-
-
-
Field Detail
-
tag
private final int tag
-
bufferPos
private final int bufferPos
-
childElements
private LinkedList<DEREncoder.EncoderState> childElements
-
childLength
private int childLength
-
-
Method Detail
-
getTag
public int getTag()
-
getBufferPos
public int getBufferPos()
-
getBuffer
public org.wildfly.common.bytes.ByteStringBuilder getBuffer()
-
getChildLength
public int getChildLength()
-
getSortedChildElements
public LinkedList<DEREncoder.EncoderState> getSortedChildElements(Comparator<DEREncoder.EncoderState> comparator)
-
addChildElement
public void addChildElement(int tag, int bufferPos)
-
addChildLength
public void addChildLength(int length)
-
-