package org.bouncycastle.asn1.cmc;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class BodyPartReference extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice {
    private final org.bouncycastle.asn1.cmc.BodyPartID a;
    private final org.bouncycastle.asn1.cmc.BodyPartPath b;

    @Override // org.bouncycastle.asn1.ASN1Object, org.bouncycastle.asn1.ASN1Encodable
    public org.bouncycastle.asn1.ASN1Primitive j() {
        org.bouncycastle.asn1.cmc.BodyPartID bodyPartID = this.a;
        return bodyPartID != null ? bodyPartID.j() : this.b.j();
    }
}
