70 lines
2.8 KiB
Java
70 lines
2.8 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.platcrypto.daemon.messages;
|
|
|
|
import com.tridium.platcrypto.daemon.messages.KeyStoreMessage;
|
|
import java.io.OutputStream;
|
|
import java.security.Key;
|
|
import java.security.cert.X509Certificate;
|
|
|
|
public class SetKeyEntryMessage
|
|
extends KeyStoreMessage {
|
|
private String alias;
|
|
private Key key;
|
|
private byte[] rawKey;
|
|
private char[] password;
|
|
private X509Certificate[] chain;
|
|
|
|
public String getAction() {
|
|
return "setKeyEntry";
|
|
}
|
|
|
|
public String getMethod() {
|
|
return "POST";
|
|
}
|
|
|
|
/*
|
|
* Exception decompiling
|
|
*/
|
|
public void write(OutputStream var1_1) {
|
|
/*
|
|
* This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
|
|
*
|
|
* org.benf.cfr.reader.util.ConfusedCFRException: Back jump on a try block [egrp 5[TRYBLOCK] [5 : 279->283)] java.lang.Throwable
|
|
* at org.benf.cfr.reader.bytecode.analysis.opgraph.Op02WithProcessedDataAndRefs.insertExceptionBlocks(Op02WithProcessedDataAndRefs.java:2283)
|
|
* at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:415)
|
|
* at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
|
|
* at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
|
|
* at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
|
|
* at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
|
|
* at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1055)
|
|
* at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
|
|
* at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
|
|
* at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
|
|
* at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
|
|
* at org.benf.cfr.reader.Main.main(Main.java:54)
|
|
*/
|
|
throw new IllegalStateException("Decompilation failed");
|
|
}
|
|
|
|
public SetKeyEntryMessage(String string, String string2, byte[] byArray, X509Certificate[] x509CertificateArray) {
|
|
super(string);
|
|
this.add("alias", string2);
|
|
this.alias = string2;
|
|
this.chain = x509CertificateArray;
|
|
this.rawKey = byArray;
|
|
this.password = null;
|
|
}
|
|
|
|
public SetKeyEntryMessage(String string, String string2, Key key, char[] cArray, X509Certificate[] x509CertificateArray) {
|
|
super(string);
|
|
this.add("alias", string2);
|
|
this.alias = string2;
|
|
this.chain = x509CertificateArray;
|
|
this.key = key;
|
|
this.password = cArray;
|
|
}
|
|
}
|
|
|