- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
88 lines
3.0 KiB
Java
88 lines
3.0 KiB
Java
package androidx.credentials.webauthn;
|
|
|
|
import androidx.annotation.RestrictTo;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
/* loaded from: classes.dex */
|
|
public final class PublicKeyCredentialDescriptor {
|
|
private final byte[] id;
|
|
private final List<String> transports;
|
|
private final String type;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ PublicKeyCredentialDescriptor copy$default(PublicKeyCredentialDescriptor publicKeyCredentialDescriptor, String str, byte[] bArr, List list, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = publicKeyCredentialDescriptor.type;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
bArr = publicKeyCredentialDescriptor.id;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
list = publicKeyCredentialDescriptor.transports;
|
|
}
|
|
return publicKeyCredentialDescriptor.copy(str, bArr, list);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.type;
|
|
}
|
|
|
|
public final byte[] component2() {
|
|
return this.id;
|
|
}
|
|
|
|
public final List<String> component3() {
|
|
return this.transports;
|
|
}
|
|
|
|
public final PublicKeyCredentialDescriptor copy(String type, byte[] id, List<String> transports) {
|
|
Intrinsics.checkNotNullParameter(type, "type");
|
|
Intrinsics.checkNotNullParameter(id, "id");
|
|
Intrinsics.checkNotNullParameter(transports, "transports");
|
|
return new PublicKeyCredentialDescriptor(type, id, transports);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof PublicKeyCredentialDescriptor)) {
|
|
return false;
|
|
}
|
|
PublicKeyCredentialDescriptor publicKeyCredentialDescriptor = (PublicKeyCredentialDescriptor) obj;
|
|
return Intrinsics.areEqual(this.type, publicKeyCredentialDescriptor.type) && Intrinsics.areEqual(this.id, publicKeyCredentialDescriptor.id) && Intrinsics.areEqual(this.transports, publicKeyCredentialDescriptor.transports);
|
|
}
|
|
|
|
public final byte[] getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public final List<String> getTransports() {
|
|
return this.transports;
|
|
}
|
|
|
|
public final String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((this.type.hashCode() * 31) + Arrays.hashCode(this.id)) * 31) + this.transports.hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return "PublicKeyCredentialDescriptor(type=" + this.type + ", id=" + Arrays.toString(this.id) + ", transports=" + this.transports + ')';
|
|
}
|
|
|
|
public PublicKeyCredentialDescriptor(String type, byte[] id, List<String> transports) {
|
|
Intrinsics.checkNotNullParameter(type, "type");
|
|
Intrinsics.checkNotNullParameter(id, "id");
|
|
Intrinsics.checkNotNullParameter(transports, "transports");
|
|
this.type = type;
|
|
this.id = id;
|
|
this.transports = transports;
|
|
}
|
|
}
|