Class DEREncoder.EncoderState

  • Enclosing class:
    DEREncoder

    private class DEREncoder.EncoderState
    extends Object
    A class used to maintain state information during DER encoding.
    • Field Detail

      • tag

        private final int tag
      • bufferPos

        private final int bufferPos
      • childLength

        private int childLength
    • Constructor Detail

      • EncoderState

        public EncoderState​(int tag,
                            int bufferPos)
    • Method Detail

      • getTag

        public int getTag()
      • getBufferPos

        public int getBufferPos()
      • getBuffer

        public org.wildfly.common.bytes.ByteStringBuilder getBuffer()
      • getChildLength

        public int getChildLength()
      • addChildElement

        public void addChildElement​(int tag,
                                    int bufferPos)
      • addChildLength

        public void addChildLength​(int length)