package org.bouncycastle.asn1.dvcs;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class DVCSCertInfo extends org.bouncycastle.asn1.ASN1Object {
    private int a;
    private org.bouncycastle.asn1.dvcs.DVCSRequestInformation b;
    private org.bouncycastle.asn1.x509.DigestInfo c;
    private org.bouncycastle.asn1.ASN1Integer d;
    private org.bouncycastle.asn1.dvcs.DVCSTime e;
    private org.bouncycastle.asn1.cmp.PKIStatusInfo f;
    private org.bouncycastle.asn1.x509.PolicyInformation g;
    private org.bouncycastle.asn1.ASN1Set h;
    private org.bouncycastle.asn1.ASN1Sequence i;
    private org.bouncycastle.asn1.x509.Extensions j;

    @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(10);
        if (this.a != 1) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.ASN1Integer(this.a));
        }
        aSN1EncodableVector.a(this.b);
        aSN1EncodableVector.a(this.c);
        aSN1EncodableVector.a(this.d);
        aSN1EncodableVector.a(this.e);
        org.bouncycastle.asn1.cmp.PKIStatusInfo pKIStatusInfo = this.f;
        if (pKIStatusInfo != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 0, pKIStatusInfo));
        }
        org.bouncycastle.asn1.x509.PolicyInformation policyInformation = this.g;
        if (policyInformation != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 1, policyInformation));
        }
        org.bouncycastle.asn1.ASN1Set aSN1Set = this.h;
        if (aSN1Set != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 2, aSN1Set));
        }
        org.bouncycastle.asn1.ASN1Sequence aSN1Sequence = this.i;
        if (aSN1Sequence != null) {
            aSN1EncodableVector.a(new org.bouncycastle.asn1.DERTaggedObject(false, 3, aSN1Sequence));
        }
        org.bouncycastle.asn1.x509.Extensions extensions = this.j;
        if (extensions != null) {
            aSN1EncodableVector.a(extensions);
        }
        return new org.bouncycastle.asn1.DERSequence(aSN1EncodableVector);
    }

    public java.lang.String toString() {
        java.lang.StringBuffer stringBuffer = new java.lang.StringBuffer();
        stringBuffer.append("DVCSCertInfo {\n");
        if (this.a != 1) {
            stringBuffer.append("version: " + this.a + "\n");
        }
        stringBuffer.append("dvReqInfo: " + this.b + "\n");
        stringBuffer.append("messageImprint: " + this.c + "\n");
        stringBuffer.append("serialNumber: " + this.d + "\n");
        stringBuffer.append("responseTime: " + this.e + "\n");
        if (this.f != null) {
            stringBuffer.append("dvStatus: " + this.f + "\n");
        }
        if (this.g != null) {
            stringBuffer.append("policy: " + this.g + "\n");
        }
        if (this.h != null) {
            stringBuffer.append("reqSignature: " + this.h + "\n");
        }
        if (this.i != null) {
            stringBuffer.append("certs: " + this.i + "\n");
        }
        if (this.j != null) {
            stringBuffer.append("extensions: " + this.j + "\n");
        }
        stringBuffer.append("}\n");
        return stringBuffer.toString();
    }
}
