package org.bouncycastle.util;

import java.util.Collection;

/* JADX INFO: loaded from: classes.dex */
public interface StreamParser {
    Object read() throws StreamParsingException;

    Collection readAll() throws StreamParsingException;
}
