package org.bouncycastle.bcpg;

import java.io.IOException;

/* JADX INFO: loaded from: classes3.dex */
public class CompressedDataPacket extends InputStreamPacket {
    int algorithm;

    CompressedDataPacket(BCPGInputStream bCPGInputStream) throws IOException {
        this(bCPGInputStream, false);
    }

    CompressedDataPacket(BCPGInputStream bCPGInputStream, boolean z) throws IOException {
        super(bCPGInputStream, 8, z);
        this.algorithm = bCPGInputStream.read();
    }

    public int getAlgorithm() {
        return this.algorithm;
    }
}
