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 intbufferPosprivate LinkedList<DEREncoder.EncoderState>childElementsprivate intchildLengthprivate inttag 
- 
Constructor Summary
Constructors Constructor Description EncoderState(int tag, int bufferPos) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildElement(int tag, int bufferPos)voidaddChildLength(int length)org.wildfly.common.bytes.ByteStringBuildergetBuffer()intgetBufferPos()intgetChildLength()LinkedList<DEREncoder.EncoderState>getSortedChildElements(Comparator<DEREncoder.EncoderState> comparator)intgetTag() 
 - 
 
- 
- 
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)
 
 - 
 
 -