64 lines
1.6 KiB
Java
64 lines
1.6 KiB
Java
package c.i.a.f.e;
|
|
|
|
import android.os.RemoteException;
|
|
import android.util.Log;
|
|
import androidx.annotation.Nullable;
|
|
import c.i.a.f.e.k.k0;
|
|
import c.i.a.f.e.k.m0;
|
|
import c.i.a.f.f.a;
|
|
import c.i.a.f.f.b;
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.util.Arrays;
|
|
/* compiled from: com.google.android.gms:play-services-basement@@17.4.0 */
|
|
public abstract class t extends m0 {
|
|
public int b;
|
|
|
|
public t(byte[] bArr) {
|
|
AnimatableValueParser.m(bArr.length == 25);
|
|
this.b = Arrays.hashCode(bArr);
|
|
}
|
|
|
|
public static byte[] h(String str) {
|
|
try {
|
|
return str.getBytes("ISO-8859-1");
|
|
} catch (UnsupportedEncodingException e) {
|
|
throw new AssertionError(e);
|
|
}
|
|
}
|
|
|
|
@Override // c.i.a.f.e.k.k0
|
|
public final a b() {
|
|
return new b(g());
|
|
}
|
|
|
|
@Override // c.i.a.f.e.k.k0
|
|
public final int c() {
|
|
return this.b;
|
|
}
|
|
|
|
@Override // java.lang.Object
|
|
public boolean equals(@Nullable Object obj) {
|
|
a b;
|
|
if (obj != null && (obj instanceof k0)) {
|
|
try {
|
|
k0 k0Var = (k0) obj;
|
|
if (k0Var.c() == this.b && (b = k0Var.b()) != null) {
|
|
return Arrays.equals(g(), (byte[]) b.h(b));
|
|
}
|
|
return false;
|
|
} catch (RemoteException e) {
|
|
Log.e("GoogleCertificates", "Failed to get Google certificates from remote", e);
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public abstract byte[] g();
|
|
|
|
@Override // java.lang.Object
|
|
public int hashCode() {
|
|
return this.b;
|
|
}
|
|
}
|