package org.bouncycastle.asn1.dvcs;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class DVCSRequestInformation extends org.bouncycastle.asn1.ASN1Object {
    private int a;
    private org.bouncycastle.asn1.dvcs.ServiceType b;
    private java.math.BigInteger c;
    private org.bouncycastle.asn1.dvcs.DVCSTime d;
    private org.bouncycastle.asn1.x509.GeneralNames e;
    private org.bouncycastle.asn1.x509.PolicyInformation f;
    private org.bouncycastle.asn1.x509.GeneralNames g;
    private org.bouncycastle.asn1.x509.GeneralNames h;
    private org.bouncycastle.asn1.x509.Extensions i;

    @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(9);
        if (this.a != 1) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.ASN1Integer(this.a));
        }
        aSN1EncodableVector.a(this.b);
        if (this.c != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.ASN1Integer(this.c));
        }
        org.bouncycastle.asn1.dvcs.DVCSTime dVCSTime = this.d;
        if (dVCSTime != null) {
            aSN1EncodableVector.a(dVCSTime);
        }
        int[] iArr = {0, 1, 2, 3, 4};
        org.bouncycastle.asn1.ASN1Encodable[] aSN1EncodableArr = {this.e, this.f, this.g, this.h, this.i};
        for (int i = 0; i < 5; i++) {
            int i2 = iArr[i];
            org.bouncycastle.asn1.ASN1Encodable aSN1Encodable = aSN1EncodableArr[i];
            if (aSN1Encodable != null) {
                aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, i2, aSN1Encodable));
            }
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }

    public java.lang.String toString() {
        java.lang.StringBuffer stringBuffer = new java.lang.StringBuffer();
        stringBuffer.append("DVCSRequestInformation {\n");
        if (this.a != 1) {
            stringBuffer.append("version: " + this.a + "\n");
        }
        stringBuffer.append("service: " + this.b + "\n");
        if (this.c != null) {
            stringBuffer.append("nonce: " + this.c + "\n");
        }
        if (this.d != null) {
            stringBuffer.append("requestTime: " + this.d + "\n");
        }
        if (this.e != null) {
            stringBuffer.append("requester: " + this.e + "\n");
        }
        if (this.f != null) {
            stringBuffer.append("requestPolicy: " + this.f + "\n");
        }
        if (this.g != null) {
            stringBuffer.append("dvcs: " + this.g + "\n");
        }
        if (this.h != null) {
            stringBuffer.append("dataLocations: " + this.h + "\n");
        }
        if (this.i != null) {
            stringBuffer.append("extensions: " + this.i + "\n");
        }
        stringBuffer.append("}\n");
        return stringBuffer.toString();
    }
}
