2026-03-17 13:31:18 -07:00

125 lines
4.0 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.security.BPassword
* javax.baja.sys.BStruct
* javax.baja.sys.BValue
* javax.baja.sys.Property
* javax.baja.sys.Sys
* javax.baja.sys.Type
*/
package com.tridium.platcrypto.ui;
import javax.baja.security.BPassword;
import javax.baja.sys.BStruct;
import javax.baja.sys.BValue;
import javax.baja.sys.Property;
import javax.baja.sys.Sys;
import javax.baja.sys.Type;
/*
* Illegal identifiers - consider using --renameillegalidents true
*/
public class BExportResponse
extends BStruct {
public static final Property exportCert = BExportResponse.newProperty((int)0, (boolean)true, null);
public static final Property exportPrivateKey = BExportResponse.newProperty((int)0, (boolean)false, null);
public static final Property privateKeyPassword = BExportResponse.newProperty((int)0, (BValue)BPassword.DEFAULT, null);
public static final Property encryptPrivateKey = BExportResponse.newProperty((int)0, (boolean)true, null);
public static final Property reusePassword = BExportResponse.newProperty((int)0, (boolean)true, null);
public static final Property privateKeySavedPassword = BExportResponse.newProperty((int)0, (BValue)BPassword.DEFAULT, null);
public static final Type TYPE;
static /* synthetic */ Class class$com$tridium$platcrypto$ui$BExportResponse;
public boolean getExportCert() {
return this.getBoolean(exportCert);
}
public void setExportCert(boolean bl) {
this.setBoolean(exportCert, bl, null);
}
public boolean getExportPrivateKey() {
return this.getBoolean(exportPrivateKey);
}
public void setExportPrivateKey(boolean bl) {
this.setBoolean(exportPrivateKey, bl, null);
}
public BPassword getPrivateKeyPassword() {
return (BPassword)this.get(privateKeyPassword);
}
public void setPrivateKeyPassword(BPassword bPassword) {
this.set(privateKeyPassword, (BValue)bPassword, null);
}
public boolean getEncryptPrivateKey() {
return this.getBoolean(encryptPrivateKey);
}
public void setEncryptPrivateKey(boolean bl) {
this.setBoolean(encryptPrivateKey, bl, null);
}
public boolean getReusePassword() {
return this.getBoolean(reusePassword);
}
public void setReusePassword(boolean bl) {
this.setBoolean(reusePassword, bl, null);
}
public BPassword getPrivateKeySavedPassword() {
return (BPassword)this.get(privateKeySavedPassword);
}
public void setPrivateKeySavedPassword(BPassword bPassword) {
this.set(privateKeySavedPassword, (BValue)bPassword, null);
}
public Type getType() {
return TYPE;
}
public static BExportResponse make(boolean bl, boolean bl2, BPassword bPassword, boolean bl3, boolean bl4, BPassword bPassword2) {
return new BExportResponse(bl, bl2, bPassword, bl3, bl4, bPassword2);
}
static /* synthetic */ Class class(String string, boolean bl) {
try {
Class<?> clazz = Class.forName(string);
if (!bl) {
clazz = clazz.getComponentType();
}
return clazz;
}
catch (ClassNotFoundException classNotFoundException) {
throw new NoClassDefFoundError(classNotFoundException.getMessage());
}
}
public BExportResponse() {
}
private BExportResponse(boolean bl, boolean bl2, BPassword bPassword, boolean bl3, boolean bl4, BPassword bPassword2) {
this.setExportCert(bl);
this.setExportPrivateKey(bl2);
this.setPrivateKeyPassword(bPassword);
this.setEncryptPrivateKey(bl3);
this.setReusePassword(bl4);
this.setPrivateKeySavedPassword(bPassword2);
}
static {
Class clazz = class$com$tridium$platcrypto$ui$BExportResponse;
if (clazz == null) {
clazz = class$com$tridium$platcrypto$ui$BExportResponse = BExportResponse.class("[Lcom.tridium.platcrypto.ui.BExportResponse;", false);
}
TYPE = Sys.loadType((Class)clazz);
}
}