Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
package androidx.credentials.webauthn;
import androidx.annotation.RestrictTo;
import androidx.credentials.webauthn.WebAuthnUtils;
import com.google.android.gms.fido.u2f.api.common.ClientData;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONObject;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public final class PublicKeyCredentialRequestOptions {
private final byte[] challenge;
private final JSONObject json;
private final String rpId;
private final long timeout;
private final String userVerification;
public final byte[] getChallenge() {
return this.challenge;
}
public final JSONObject getJson() {
return this.json;
}
public final String getRpId() {
return this.rpId;
}
public final long getTimeout() {
return this.timeout;
}
public final String getUserVerification() {
return this.userVerification;
}
public PublicKeyCredentialRequestOptions(String requestJson) {
Intrinsics.checkNotNullParameter(requestJson, "requestJson");
JSONObject jSONObject = new JSONObject(requestJson);
this.json = jSONObject;
String challengeString = jSONObject.getString(ClientData.KEY_CHALLENGE);
WebAuthnUtils.Companion companion = WebAuthnUtils.Companion;
Intrinsics.checkNotNullExpressionValue(challengeString, "challengeString");
this.challenge = companion.b64Decode(challengeString);
this.timeout = jSONObject.optLong("timeout", 0L);
String optString = jSONObject.optString("rpId", "");
Intrinsics.checkNotNullExpressionValue(optString, "json.optString(\"rpId\", \"\")");
this.rpId = optString;
String optString2 = jSONObject.optString("userVerification", "preferred");
Intrinsics.checkNotNullExpressionValue(optString2, "json.optString(\"userVerification\", \"preferred\")");
this.userVerification = optString2;
}
}