43 lines
1.1 KiB
Java
43 lines
1.1 KiB
Java
package com.google.firebase.iid;
|
|
|
|
import android.util.Base64;
|
|
import com.google.android.gms.common.internal.Objects;
|
|
import java.security.KeyPair;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zzz {
|
|
private final KeyPair a;
|
|
private final long b;
|
|
|
|
zzz(KeyPair keyPair, long j) {
|
|
this.a = keyPair;
|
|
this.b = j;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public final String b() {
|
|
return Base64.encodeToString(this.a.getPublic().getEncoded(), 11);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public final String c() {
|
|
return Base64.encodeToString(this.a.getPrivate().getEncoded(), 11);
|
|
}
|
|
|
|
final KeyPair a() {
|
|
return this.a;
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (!(obj instanceof zzz)) {
|
|
return false;
|
|
}
|
|
zzz zzzVar = (zzz) obj;
|
|
return this.b == zzzVar.b && this.a.getPublic().equals(zzzVar.a.getPublic()) && this.a.getPrivate().equals(zzzVar.a.getPrivate());
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return Objects.a(this.a.getPublic(), this.a.getPrivate(), Long.valueOf(this.b));
|
|
}
|
|
}
|