hp$a.java
2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import android.os.RemoteException;
import android.util.Log;
import com.google.android.gms.common.internal.zzac;
import com.google.android.gms.common.internal.zzt;
import com.google.android.gms.common.internal.zzt.zza;
import com.google.android.gms.common.util.zzn;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.zzd;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
public abstract class hp$a
extends zzt.zza
{
private int a;
protected hp$a(byte[] paramArrayOfByte)
{
Object localObject = paramArrayOfByte;
if (paramArrayOfByte.length != 25)
{
int i = paramArrayOfByte.length;
localObject = String.valueOf(zzn.zza(paramArrayOfByte, 0, paramArrayOfByte.length, false));
Log.wtf("GoogleCertificates", String.valueOf(localObject).length() + 51 + "Cert hash data has incorrect length (" + i + "):\n" + (String)localObject, new Exception());
localObject = Arrays.copyOfRange(paramArrayOfByte, 0, 25);
if (localObject.length == 25) {
bool = true;
}
i = localObject.length;
zzac.zzb(bool, 55 + "cert hash data has incorrect length. length=" + i);
}
this.a = Arrays.hashCode((byte[])localObject);
}
protected static byte[] a(String paramString)
{
try
{
paramString = paramString.getBytes("ISO-8859-1");
return paramString;
}
catch (UnsupportedEncodingException paramString)
{
throw new AssertionError(paramString);
}
}
abstract byte[] a();
public boolean equals(Object paramObject)
{
if ((paramObject == null) || (!(paramObject instanceof zzt))) {
return false;
}
try
{
paramObject = (zzt)paramObject;
if (((zzt)paramObject).zzvb() != hashCode()) {
return false;
}
paramObject = ((zzt)paramObject).zzva();
if (paramObject == null) {
return false;
}
paramObject = (byte[])zzd.zzF((IObjectWrapper)paramObject);
boolean bool = Arrays.equals(a(), (byte[])paramObject);
return bool;
}
catch (RemoteException paramObject)
{
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", (Throwable)paramObject);
}
return false;
}
public int hashCode()
{
return this.a;
}
public IObjectWrapper zzva()
{
return zzd.zzA(a());
}
public int zzvb()
{
return hashCode();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/hp$a.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/