mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Changes needed for crypto for Limelight Pi
This commit is contained in:
@@ -58,18 +58,19 @@
|
|||||||
|
|
||||||
<target name="compile-java" depends="init">
|
<target name="compile-java" depends="init">
|
||||||
<!-- compile limelight -->
|
<!-- compile limelight -->
|
||||||
<javac includeantruntime="false" destdir="${classes.dir}/src">
|
<javac includeantruntime="false" destdir="${classes.dir}/src" debug="true">
|
||||||
<src path="${src.dir}"/>
|
<src path="${src.dir}"/>
|
||||||
<classpath path="${classes.dir}/common"/>
|
<classpath path="${classes.dir}/common"/>
|
||||||
<classpath>
|
<classpath>
|
||||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||||
|
<fileset dir="${libs.dir}" includes="*.jar"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compile-common" depends="init">
|
<target name="compile-common" depends="init">
|
||||||
<!-- compile limelight -->
|
<!-- compile limelight -->
|
||||||
<javac includeantruntime="false" destdir="${classes.dir}/common">
|
<javac includeantruntime="false" destdir="${classes.dir}/common" debug="true">
|
||||||
<src path="${common.src.dir}"/>
|
<src path="${common.src.dir}"/>
|
||||||
<classpath>
|
<classpath>
|
||||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||||
@@ -92,6 +93,7 @@
|
|||||||
|
|
||||||
<lib>
|
<lib>
|
||||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||||
|
<fileset dir="${libs.dir}" includes="*.jar"/>
|
||||||
</lib>
|
</lib>
|
||||||
|
|
||||||
<binlib>
|
<binlib>
|
||||||
|
|||||||
+1
-1
Submodule libs/common updated: 9868596040...100e6f05ba
@@ -32,13 +32,12 @@ import org.bouncycastle.x509.X509V3CertificateGenerator;
|
|||||||
|
|
||||||
import com.limelight.LimeLog;
|
import com.limelight.LimeLog;
|
||||||
import com.limelight.nvstream.http.LimelightCryptoProvider;
|
import com.limelight.nvstream.http.LimelightCryptoProvider;
|
||||||
import com.limelight.settings.SettingsManager;
|
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public class PcCryptoProvider implements LimelightCryptoProvider {
|
public class PcCryptoProvider implements LimelightCryptoProvider {
|
||||||
|
|
||||||
private File certFile = new File(SettingsManager.SETTINGS_DIR + File.separator + "client.crt");
|
private File certFile = new File("client.crt");
|
||||||
private File keyFile = new File(SettingsManager.SETTINGS_DIR + File.separator + "client.key");
|
private File keyFile = new File("client.key");
|
||||||
|
|
||||||
private X509Certificate cert;
|
private X509Certificate cert;
|
||||||
private RSAPrivateKey key;
|
private RSAPrivateKey key;
|
||||||
|
|||||||
Reference in New Issue
Block a user