package org.bouncycastle.asn1.ocsp;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class OCSPRequest extends org.bouncycastle.asn1.ASN1Object {
    org.bouncycastle.asn1.ocsp.TBSRequest a;
    org.bouncycastle.asn1.ocsp.Signature b;

    public OCSPRequest(org.bouncycastle.asn1.ocsp.TBSRequest tBSRequest, org.bouncycastle.asn1.ocsp.Signature signature) {
        this.a = tBSRequest;
        this.b = signature;
    }

    @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(2);
        aSN1EncodableVector.a(this.a);
        org.bouncycastle.asn1.ocsp.Signature signature = this.b;
        if (signature != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(true, 0, signature));
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }
}
