50 lines
1.5 KiB
Java
50 lines
1.5 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
|
|
* javax.baja.sys.BComponent
|
|
*/
|
|
package com.tridium.platcrypto.fox;
|
|
|
|
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.fox.ChannelBase;
|
|
import com.tridium.platcrypto.fox.ChannelExemptionStore;
|
|
import com.tridium.platcrypto.fox.ChannelKeyStore;
|
|
import com.tridium.platcrypto.fox.ChannelProviderInfo;
|
|
import javax.baja.sys.BComponent;
|
|
|
|
public class ChannelCryptoManager
|
|
extends ChannelBase
|
|
implements ICoreCryptoManager {
|
|
private BComponent parent;
|
|
|
|
public ICoreKeyStore getKeyStore() throws Exception {
|
|
return new ChannelKeyStore(this.parent, false);
|
|
}
|
|
|
|
public ICoreKeyStore getTrustStore() throws Exception {
|
|
return new ChannelKeyStore(this.parent, true);
|
|
}
|
|
|
|
public ICoreExemptionStore getExemptionStore() throws Exception {
|
|
return new ChannelExemptionStore(this.parent);
|
|
}
|
|
|
|
public ICoreProviderInfo getProviderInfo() throws Exception {
|
|
return new ChannelProviderInfo(this.parent);
|
|
}
|
|
|
|
public ChannelCryptoManager(BComponent bComponent) {
|
|
super(bComponent);
|
|
this.parent = bComponent;
|
|
}
|
|
}
|
|
|