Class XofOutputStream

java.lang.Object
java.io.OutputStream
org.bouncycastle.crypto.UpdateOutputStream
org.bouncycastle.crypto.internal.io.XofOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class XofOutputStream extends UpdateOutputStream
  • Field Details

    • digest

      protected Xof digest
  • Constructor Details

    • XofOutputStream

      public XofOutputStream(Xof digest)
  • Method Details

    • write

      public void write(int b) throws IOException
      Specified by:
      write in class OutputStream
      Throws:
      IOException
    • write

      public void write(byte[] b, int off, int len) throws IOException
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • getOutput

      public final int getOutput(byte[] output, int off, int outLen)
    • getFinalOutput

      public final int getFinalOutput(byte[] output, int off, int outLen)
    • reset

      public void reset()