Class SecureByteArrayOutputStream

java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.apache.sshd.common.util.io.SecureByteArrayOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class SecureByteArrayOutputStream extends ByteArrayOutputStream
A ByteArrayOutputStream that clears its internal buffer after resizing and when it is closed.