package org.bouncycastle.asn1.cmp;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class ErrorMsgContent extends org.bouncycastle.asn1.ASN1Object {
    private final org.bouncycastle.asn1.cmp.PKIStatusInfo a;
    private org.bouncycastle.asn1.ASN1Integer b;
    private org.bouncycastle.asn1.cmp.PKIFreeText c;

    private void n(org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector, org.bouncycastle.asn1.ASN1Encodable aSN1Encodable) {
        if (aSN1Encodable != null) {
            aSN1EncodableVector.a(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(3);
        aSN1EncodableVector.a(this.a);
        n(aSN1EncodableVector, this.b);
        n(aSN1EncodableVector, this.c);
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
