package org.bouncycastle.cms;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class CMSCompressedDataStreamGenerator {
    public static final java.lang.String a = org.bouncycastle.asn1.cms.CMSObjectIdentifiers.J0.C();

    private static class CmsCompressedOutputStream extends java.io.OutputStream {
        private java.io.OutputStream a;
        private org.bouncycastle.asn1.BERSequenceGenerator b;
        private org.bouncycastle.asn1.BERSequenceGenerator c;
        private org.bouncycastle.asn1.BERSequenceGenerator d;

        @Override // java.io.OutputStream, java.io.Closeable, java.lang.AutoCloseable
        public void close() throws java.io.IOException {
            this.a.close();
            this.d.d();
            this.c.d();
            this.b.d();
        }

        @Override // java.io.OutputStream
        public void write(int i) throws java.io.IOException {
            this.a.write(i);
        }

        @Override // java.io.OutputStream
        public void write(byte[] bArr) throws java.io.IOException {
            this.a.write(bArr);
        }

        @Override // java.io.OutputStream
        public void write(byte[] bArr, int i, int i2) throws java.io.IOException {
            this.a.write(bArr, i, i2);
        }
    }
}
