1 2 3 4 5 6 7 8 9 10 11 12 13
package org.bouncycastle.crypto.tls; import java.io.ByteArrayOutputStream; import org.bouncycastle.crypto.Signer; class SignerInputBuffer extends ByteArrayOutputStream { void updateSigner(Signer s) { s.update(this.buf, 0, count); } }