tools.codec.pkcs
Class ExtKeyTool.ByteContainer

java.lang.Object
  extended bytools.codec.pkcs.ExtKeyTool.ByteContainer
Enclosing class:
ExtKeyTool

private class ExtKeyTool.ByteContainer
extends Object

Auto-enlarging container for bytes.


Field Summary
private  byte[] buffer
           
private  int currentSize
           
private  int cushion
           
 
Constructor Summary
private ExtKeyTool.ByteContainer(int cushion)
           
 
Method Summary
private  void append(byte b)
          Add one byte to the end of the container.
private  void grow()
           
private  byte[] toByteArray()
          Returns an array of the bytes in the container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

private byte[] buffer

cushion

private int cushion

currentSize

private int currentSize
Constructor Detail

ExtKeyTool.ByteContainer

private ExtKeyTool.ByteContainer(int cushion)
Method Detail

grow

private void grow()

toByteArray

private byte[] toByteArray()
Returns an array of the bytes in the container.


append

private void append(byte b)
Add one byte to the end of the container.



Copyright © Fraunhofer Gesellschaft. All Rights Reserved.