what-the-bank/sources/o/QKJ.java

40 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.security.GeneralSecurityException;
import o.NZO;
/* loaded from: classes2.dex */
public final class QKJ implements KlU {
public final jra a;
public final Integer b;
final NZO.Sts c;
public final String d;
public final Umh e;
private final C1246Yua h;
private QKJ(String str, jra jraVar, NZO.Sts sts, Umh umh, Integer num) {
this.d = str;
this.h = oHp.e(str);
this.a = jraVar;
this.c = sts;
this.e = umh;
this.b = num;
}
public static QKJ c(String str, jra jraVar, NZO.Sts sts, Umh umh, Integer num) throws GeneralSecurityException {
if (umh == Umh.RAW) {
if (num != null) {
throw new GeneralSecurityException("Keys with output prefix type raw should not have an id requirement.");
}
} else if (num == null) {
throw new GeneralSecurityException("Keys with output prefix type different from raw should have an id requirement.");
}
return new QKJ(str, jraVar, sts, umh, num);
}
@Override // o.KlU
public final C1246Yua a() {
return this.h;
}
}