package org.bouncycastle.crypto.tls; import java.io.ByteArrayOutputStream; import org.bouncycastle.crypto.Digest; /* loaded from: classes6.dex */ class DigestInputBuffer extends ByteArrayOutputStream { /* JADX INFO: Access modifiers changed from: package-private */ public void updateDigest(Digest digest) { digest.update(((ByteArrayOutputStream) this).buf, 0, ((ByteArrayOutputStream) this).count); } }