Class CipherOutputStream


  • public class CipherOutputStream
    extends java.lang.Object
    CipherOutputStream.
    • Constructor Detail

      • CipherOutputStream

        public CipherOutputStream​(BlockCipher tc,
                                  java.io.OutputStream bo)
    • Method Detail

      • flush

        public void flush()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • changeCipher

        public void changeCipher​(BlockCipher bc)
      • write

        public void write​(byte[] src,
                          int off,
                          int len)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(int b)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writePlain

        public void writePlain​(int b)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writePlain

        public void writePlain​(byte[] b,
                               int off,
                               int len)
                        throws java.io.IOException
        Throws:
        java.io.IOException