package org.bouncycastle.asn1.dvcs;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class PathProcInput extends org.bouncycastle.asn1.ASN1Object {
    private org.bouncycastle.asn1.x509.PolicyInformation[] a;
    private boolean b;
    private boolean c;
    private boolean 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);
        org.bouncycastle.asn1.ASN1EncodableVector aSN1EncodableVector2 = new org.bouncycastle.asn1.ASN1EncodableVector(this.a.length);
        int i = 0;
        while (true) {
            org.bouncycastle.asn1.x509.PolicyInformation[] policyInformationArr = this.a;
            if (i == policyInformationArr.length) {
                break;
            }
            aSN1EncodableVector2.a(policyInformationArr[i]);
            i++;
        }
        aSN1EncodableVector.a(new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector2));
        boolean z = this.b;
        if (z) {
            aSN1EncodableVector.a(org.bouncycastle.asn1.ASN1Boolean.A(z));
        }
        boolean z2 = this.c;
        if (z2) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 0, org.bouncycastle.asn1.ASN1Boolean.A(z2)));
        }
        boolean z3 = this.d;
        if (z3) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 1, org.bouncycastle.asn1.ASN1Boolean.A(z3)));
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }

    public java.lang.String toString() {
        return "PathProcInput: {\nacceptablePolicySet: " + java.util.Arrays.asList(this.a) + "\ninhibitPolicyMapping: " + this.b + "\nexplicitPolicyReqd: " + this.c + "\ninhibitAnyPolicy: " + this.d + "\n}\n";
    }
}
