1 package org.bouncycastle.crypto.io;
5 import org.bouncycastle.crypto.Digest;
7 public class DigestOutputStream
8 extends FilterOutputStream
10 protected Digest digest;
12 public DigestOutputStream(
20 public void write(int b)
23 digest.update((byte)b);
33 digest.update(b, off, len);
34 out.write(b, off, len);
37 public Digest getDigest()