31 lines
807 B
Java
31 lines
807 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.tridium.nre.util.LegacyStorageUtil
|
|
*/
|
|
package com.tridium.platcrypto.daemon.messages;
|
|
|
|
import com.tridium.nre.util.LegacyStorageUtil;
|
|
import com.tridium.platcrypto.daemon.messages.KeyStoreMessage;
|
|
import java.io.IOException;
|
|
|
|
public class GetKeyMessage
|
|
extends KeyStoreMessage {
|
|
public String getAction() {
|
|
return "getKey";
|
|
}
|
|
|
|
public GetKeyMessage(String string, String string2, char[] cArray) {
|
|
super(string);
|
|
this.add("alias", string2);
|
|
if (cArray != null && cArray.length > 0) {
|
|
try {
|
|
this.add("password", LegacyStorageUtil.encode((String)String.valueOf(cArray)));
|
|
}
|
|
catch (IOException iOException) {}
|
|
}
|
|
}
|
|
}
|
|
|