|

10精币
package com.pichillilorenzo.flutter_inappwebview.types;
import com.pichillilorenzo.flutter_inappwebview.credential_database.URLCredentialContract;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public class URLCredential {
private Long id;
private String password;
private Long protectionSpaceId;
private String username;
public URLCredential(String str, String str2) {
this.username = str;
this.password = str2;
}
public URLCredential(Long l, String str, String str2, Long l2) {
this.id = l;
this.username = str;
this.password = str2;
this.protectionSpaceId = l2;
}
public Map<String, Object> toMap() {
HashMap hashMap = new HashMap();
hashMap.put(URLCredentialContract.FeedEntry.COLUMN_NAME_USERNAME, this.username);
hashMap.put(URLCredentialContract.FeedEntry.COLUMN_NAME_PASSWORD, this.password);
return hashMap;
}
public Long getId() {
return this.id;
}
public void setId(Long l) {
this.id = l;
}
public String getUsername() {
return this.username;
}
public void setUsername(String str) {
this.username = str;
}
public String getPassword() {
return this.password;
}
public void setPassword(String str) {
this.password = str;
}
public Long getProtectionSpaceId() {
return this.protectionSpaceId;
}
public void setProtectionSpaceId(Long l) {
this.protectionSpaceId = l;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
URLCredential uRLCredential = (URLCredential) obj;
String str = this.username;
if (str == null ? uRLCredential.username != null : !str.equals(uRLCredential.username)) {
return false;
}
String str2 = this.password;
String str3 = uRLCredential.password;
return str2 != null ? str2.equals(str3) : str3 == null;
}
public int hashCode() {
String str = this.username;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.password;
if (str2 != null) {
i = str2.hashCode();
}
return hashCode + i;
}
public String toString() {
return "URLCredential{username='" + this.username + "', password='" + this.password + "'}";
}
}
下面的
543599CBAD968EBAA1C8E57F7F0D97EC怎么来的,有懂的吗
{"username":"19999999999","password":"19999999999","sign":"543599CBAD968EBAA1C8E57F7F0D97EC"}
|
最佳答案
查看完整内容
加密钥匙是jinnin327
补充内容 (2023-7-20 08:45):
不懂的问Q:867598211
|