60 lines
2.2 KiB
Java
60 lines
2.2 KiB
Java
package o;
|
|
|
|
import java.util.Date;
|
|
import org.ejbca.cvc.AccessRightEnum;
|
|
import org.ejbca.cvc.AuthorizationRoleEnum;
|
|
import org.ejbca.cvc.CVCAuthorizationTemplate;
|
|
import org.ejbca.cvc.exception.ConstructionException;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public final class glQ extends glA {
|
|
private static glS[] c = {glS.PROFILE_IDENTIFIER, glS.CA_REFERENCE, glS.PUBLIC_KEY, glS.HOLDER_REFERENCE, glS.HOLDER_AUTH_TEMPLATE, glS.EFFECTIVE_DATE, glS.EXPIRATION_DATE};
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public glQ() {
|
|
super(glS.CERTIFICATE_BODY);
|
|
}
|
|
|
|
private glQ(glL gll, glP glp, glW glw) throws ConstructionException {
|
|
this();
|
|
if (glp == null) {
|
|
throw new IllegalArgumentException("publicKey is null");
|
|
}
|
|
if (glw == null) {
|
|
throw new IllegalArgumentException("holderReference is null");
|
|
}
|
|
c(new C15287gmb(glS.PROFILE_IDENTIFIER, 0));
|
|
c(gll);
|
|
c((AbstractC15245glT) glp);
|
|
c(glw);
|
|
}
|
|
|
|
public glQ(glL gll, glP glp, glW glw, InterfaceC15243glE interfaceC15243glE, InterfaceC15241glC interfaceC15241glC, Date date, Date date2) throws ConstructionException {
|
|
this(gll, glp, glw);
|
|
if (interfaceC15243glE == null) {
|
|
throw new IllegalArgumentException("authRole is null");
|
|
}
|
|
if (interfaceC15241glC == null) {
|
|
throw new IllegalArgumentException("accessRight is null");
|
|
}
|
|
if (date == null) {
|
|
throw new IllegalArgumentException("validFrom is null");
|
|
}
|
|
if (date2 == null) {
|
|
throw new IllegalArgumentException("validTo is null");
|
|
}
|
|
c((AbstractC15245glT) new CVCAuthorizationTemplate(interfaceC15243glE, interfaceC15241glC));
|
|
c(new glZ(glS.EFFECTIVE_DATE, date));
|
|
c(new glZ(glS.EXPIRATION_DATE, date2));
|
|
}
|
|
|
|
public glQ(glL gll, glP glp, glW glw, AuthorizationRoleEnum authorizationRoleEnum, AccessRightEnum accessRightEnum, Date date, Date date2) throws ConstructionException {
|
|
this(gll, glp, glw, (InterfaceC15243glE) authorizationRoleEnum, (InterfaceC15241glC) accessRightEnum, date, date2);
|
|
}
|
|
|
|
@Override // o.glA
|
|
protected final glS[] a() {
|
|
return c;
|
|
}
|
|
}
|