discord-jadx/app/src/main/java/co/discord/media_engine/EncryptionSettings.java

82 lines
2.3 KiB
Java
Raw Normal View History

2021-08-03 07:33:18 +00:00
package co.discord.media_engine;
2021-12-17 21:59:34 +00:00
import b.d.b.a.a;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
2021-08-03 07:33:18 +00:00
import java.util.Arrays;
/* compiled from: EncryptionSettings.kt */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-08-03 07:33:18 +00:00
public final class EncryptionSettings {
private final String mode;
private final int[] secretKey;
public EncryptionSettings(String str, int[] iArr) {
m.checkNotNullParameter(str, "mode");
m.checkNotNullParameter(iArr, "secretKey");
this.mode = str;
this.secretKey = iArr;
}
public static /* synthetic */ EncryptionSettings copy$default(EncryptionSettings encryptionSettings, String str, int[] iArr, int i, Object obj) {
if ((i & 1) != 0) {
str = encryptionSettings.mode;
}
if ((i & 2) != 0) {
iArr = encryptionSettings.secretKey;
}
return encryptionSettings.copy(str, iArr);
}
public final String component1() {
return this.mode;
}
public final int[] component2() {
return this.secretKey;
}
public final EncryptionSettings copy(String str, int[] iArr) {
m.checkNotNullParameter(str, "mode");
m.checkNotNullParameter(iArr, "secretKey");
return new EncryptionSettings(str, iArr);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof EncryptionSettings)) {
return false;
}
EncryptionSettings encryptionSettings = (EncryptionSettings) obj;
return m.areEqual(this.mode, encryptionSettings.mode) && m.areEqual(this.secretKey, encryptionSettings.secretKey);
}
public final String getMode() {
return this.mode;
}
public final int[] getSecretKey() {
return this.secretKey;
}
public int hashCode() {
String str = this.mode;
int i = 0;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
int[] iArr = this.secretKey;
if (iArr != null) {
i = Arrays.hashCode(iArr);
}
return hashCode + i;
}
public String toString() {
2022-03-21 18:52:30 +00:00
StringBuilder R = a.R("EncryptionSettings(mode=");
R.append(this.mode);
R.append(", secretKey=");
R.append(Arrays.toString(this.secretKey));
R.append(")");
return R.toString();
2021-08-03 07:33:18 +00:00
}
}