package com.facetec.sdk; import android.os.Parcel; import android.os.Parcelable; import android.util.Base64; import java.util.ArrayList; /* loaded from: classes.dex */ public final class FaceTecIDScanResult implements Parcelable { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: com.facetec.sdk.FaceTecIDScanResult.1 @Override // android.os.Parcelable.Creator public /* bridge */ /* synthetic */ FaceTecIDScanResult[] newArray(int i) { return new FaceTecIDScanResult[i]; } @Override // android.os.Parcelable.Creator public /* synthetic */ FaceTecIDScanResult createFromParcel(Parcel parcel) { return new FaceTecIDScanResult(parcel); } }; private final FaceTecIDScanStatus a; String b; ArrayList c; ArrayList d; byte[] e; @Override // android.os.Parcelable public final int describeContents() { return 0; } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { parcel.writeSerializable(this.a); cb.a(this.c, parcel); cb.a(this.d, parcel); cb.a(this.e, parcel); cb.a(this.b, parcel); } protected FaceTecIDScanResult(Parcel parcel) { this.c = new ArrayList<>(); this.d = new ArrayList<>(); this.a = (FaceTecIDScanStatus) parcel.readSerializable(); this.c = (ArrayList) cb.c(parcel); this.d = (ArrayList) cb.c(parcel); this.e = (byte[]) cb.c(parcel); this.b = (String) cb.c(parcel); } /* JADX INFO: Access modifiers changed from: package-private */ public FaceTecIDScanResult(FaceTecIDScanStatus faceTecIDScanStatus) { this.c = new ArrayList<>(); this.d = new ArrayList<>(); this.a = faceTecIDScanStatus; } public final String getIDScanBase64() { byte[] bArr = new byte[0]; byte[] bArr2 = this.e; if (bArr2 != null) { bArr = bArr2; } return Base64.encodeToString(bArr, 2); } public final FaceTecIDScanStatus getStatus() { return this.a; } public final String getSessionId() { return this.b; } public final byte[] getIDScan() { byte[] bArr = new byte[0]; byte[] bArr2 = this.e; return bArr2 != null ? bArr2 : bArr; } public final ArrayList getFrontImagesCompressedBase64() { return this.c; } public final ArrayList getBackImagesCompressedBase64() { return this.d; } }