package org.bouncycastle.asn1.cmp;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class PKIHeader extends org.bouncycastle.asn1.ASN1Object {
    public static final org.bouncycastle.asn1.x509.GeneralName m = new org.bouncycastle.asn1.x509.GeneralName(org.bouncycastle.asn1.x500.X500Name.n(new org.bouncycastle.asn1.DERSequence()));
    private final org.bouncycastle.asn1.ASN1Integer a;
    private final org.bouncycastle.asn1.x509.GeneralName b;
    private final org.bouncycastle.asn1.x509.GeneralName c;
    private org.bouncycastle.asn1.ASN1GeneralizedTime d;
    private org.bouncycastle.asn1.x509.AlgorithmIdentifier e;
    private org.bouncycastle.asn1.ASN1OctetString f;
    private org.bouncycastle.asn1.ASN1OctetString g;
    private org.bouncycastle.asn1.ASN1OctetString h;
    private org.bouncycastle.asn1.ASN1OctetString i;
    private org.bouncycastle.asn1.ASN1OctetString j;
    private org.bouncycastle.asn1.cmp.PKIFreeText k;
    private org.bouncycastle.asn1.ASN1Sequence l;

    private void n(org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector, int i, org.bouncycastle.asn1.ASN1Encodable aSN1Encodable) {
        if (aSN1Encodable != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, i, aSN1Encodable));
        }
    }

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector = new org.bouncycastle.asn1.ASN1EncodableVector(12);
        aSN1EncodableVector.a(this.a);
        aSN1EncodableVector.a(this.b);
        aSN1EncodableVector.a(this.c);
        n(aSN1EncodableVector, 0, this.d);
        n(aSN1EncodableVector, 1, this.e);
        n(aSN1EncodableVector, 2, this.f);
        n(aSN1EncodableVector, 3, this.g);
        n(aSN1EncodableVector, 4, this.h);
        n(aSN1EncodableVector, 5, this.i);
        n(aSN1EncodableVector, 6, this.j);
        n(aSN1EncodableVector, 7, this.k);
        n(aSN1EncodableVector, 8, this.l);
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
