package org.bouncycastle.asn1;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class DERExternal extends org.bouncycastle.asn1.ASN1External {
    public DERExternal(org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier, org.bouncycastle.asn1.ASN1Integer aSN1Integer, org.bouncycastle.asn1.ASN1Primitive aSN1Primitive, int i, org.bouncycastle.asn1.ASN1Primitive aSN1Primitive2) {
        super(aSN1ObjectIdentifier, aSN1Integer, aSN1Primitive, i, aSN1Primitive2);
    }

    @Override // org.bouncycastle.asn1.ASN1External
    org.bouncycastle.asn1.ASN1Sequence x() {
        org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector = new org.bouncycastle.asn1.ASN1EncodableVector(4);
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier = this.a;
        if (aSN1ObjectIdentifier != null) {
            aSN1EncodableVector.a(aSN1ObjectIdentifier);
        }
        org.bouncycastle.asn1.ASN1Integer aSN1Integer = this.b;
        if (aSN1Integer != null) {
            aSN1EncodableVector.a(aSN1Integer);
        }
        org.bouncycastle.asn1.ASN1Primitive aSN1Primitive = this.c;
        if (aSN1Primitive != null) {
            aSN1EncodableVector.a(aSN1Primitive.v());
        }
        int i = this.d;
        aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(i == 0, i, this.e));
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }

    public DERExternal(org.bouncycastle.asn1.DERSequence dERSequence) {
        super(dERSequence);
    }

    @Override // org.bouncycastle.asn1.ASN1External, org.bouncycastle.asn1.ASN1Primitive
    org.bouncycastle.asn1.ASN1Primitive v() {
        return this;
    }

    @Override // org.bouncycastle.asn1.ASN1External, org.bouncycastle.asn1.ASN1Primitive
    org.bouncycastle.asn1.ASN1Primitive w() {
        return this;
    }
}
