package org.bouncycastle.x509.util;
import java.util.Collection;
/* loaded from: classes6.dex */
public interface StreamParser {
Object read() throws StreamParsingException;
Collection readAll() throws StreamParsingException;
}