package org.bouncycastle.asn1.bc;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class LinkedCertificate extends org.bouncycastle.asn1.ASN1Object {
    private final org.bouncycastle.asn1.x509.DigestInfo a;
    private final org.bouncycastle.asn1.x509.GeneralName b;
    private org.bouncycastle.asn1.x500.X500Name c;
    private org.bouncycastle.asn1.x509.GeneralNames d;

    @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(4);
        aSN1EncodableVector.a(this.a);
        aSN1EncodableVector.a(this.b);
        org.bouncycastle.asn1.x500.X500Name x500Name = this.c;
        if (x500Name != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 0, x500Name));
        }
        org.bouncycastle.asn1.x509.GeneralNames generalNames = this.d;
        if (generalNames != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 1, generalNames));
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
