Class SignHelper.HashingNonClosingOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    SignHelper

    public static class SignHelper.HashingNonClosingOutputStream
    extends SignHelper.HashingOutputStream
    Helper output stream that also sends the data to the given.
    • Constructor Detail

      • HashingNonClosingOutputStream

        public HashingNonClosingOutputStream​(java.io.OutputStream out,
                                             java.security.MessageDigest hasher)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class SignHelper.HashingOutputStream
        Throws:
        java.io.IOException