92 lines
3.0 KiB
Java
92 lines
3.0 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.tridium.crypto.core.io.ICoreCryptoManager
|
|
* com.tridium.crypto.core.io.ICoreExemptionStore
|
|
* com.tridium.crypto.core.io.ICoreKeyStore
|
|
* com.tridium.crypto.core.io.ICoreProviderInfo
|
|
* com.tridium.platform.daemon.BDaemonSession
|
|
* javax.baja.sys.Sys
|
|
* javax.baja.sys.Type
|
|
*/
|
|
package com.tridium.platcrypto.daemon;
|
|
|
|
import com.tridium.crypto.core.io.ICoreCryptoManager;
|
|
import com.tridium.crypto.core.io.ICoreExemptionStore;
|
|
import com.tridium.crypto.core.io.ICoreKeyStore;
|
|
import com.tridium.crypto.core.io.ICoreProviderInfo;
|
|
import com.tridium.platcrypto.daemon.BPlatCryptoBase;
|
|
import com.tridium.platcrypto.daemon.BPlatExemptionStore;
|
|
import com.tridium.platcrypto.daemon.BPlatKeyStore;
|
|
import com.tridium.platcrypto.daemon.BPlatProviderInfo;
|
|
import com.tridium.platcrypto.daemon.BPlatTrustStore;
|
|
import com.tridium.platform.daemon.BDaemonSession;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BPlatCryptoManager
|
|
extends BPlatCryptoBase
|
|
implements ICoreCryptoManager {
|
|
public static final Type TYPE;
|
|
public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
|
|
static /* synthetic */ Class class$com$tridium$platcrypto$daemon$BPlatCryptoManager;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public ICoreExemptionStore getExemptionStore() throws Exception {
|
|
return new BPlatExemptionStore(this.getDaemonSession());
|
|
}
|
|
|
|
public ICoreKeyStore getKeyStore() throws Exception {
|
|
return new BPlatKeyStore(this.getDaemonSession());
|
|
}
|
|
|
|
public ICoreProviderInfo getProviderInfo() throws Exception {
|
|
return new BPlatProviderInfo(this.getDaemonSession());
|
|
}
|
|
|
|
public ICoreKeyStore getTrustStore() throws Exception {
|
|
return new BPlatTrustStore(this.getDaemonSession());
|
|
}
|
|
|
|
public boolean isSecure() {
|
|
return this.getDaemonSession().isSecure();
|
|
}
|
|
|
|
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 BPlatCryptoManager() throws UnsupportedOperationException {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
|
|
public BPlatCryptoManager(BDaemonSession bDaemonSession) {
|
|
super(bDaemonSession);
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$platcrypto$daemon$BPlatCryptoManager;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$platcrypto$daemon$BPlatCryptoManager = BPlatCryptoManager.class("[Lcom.tridium.platcrypto.daemon.BPlatCryptoManager;", false);
|
|
}
|
|
TYPE = Sys.loadType((Class)clazz);
|
|
}
|
|
}
|
|
|