CEC-3301, CEC-3317 Magna security dll and remote commands (#249)
* CEC-3301, CEC-3317 Magna security dll and remote commands * Fix test
This commit is contained in:
36
src/components/Magna/SecurityDLL/result.jsx
Normal file
36
src/components/Magna/SecurityDLL/result.jsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import React from "react";
|
||||
|
||||
import { SECURITY_DLL_64_URL, SECURITY_DLL_URL } from "../../../services/securityDLL";
|
||||
import DownloadFileLink from "../../Controls/DownloadFileLink";
|
||||
|
||||
const CertMimeType = "application/x-pem-file";
|
||||
|
||||
const Result = ({ public_key, private_key }) => (
|
||||
<>
|
||||
<form>
|
||||
<p>Click to download your certificates and security.dll.<br /><strong>DLL will not work unless certificate.pem and key.pem are placed next to the DLL</strong></p>
|
||||
<ul>
|
||||
<li>
|
||||
<DownloadFileLink
|
||||
data={public_key}
|
||||
filename="certificate.pem"
|
||||
mimetype={CertMimeType} />
|
||||
</li>
|
||||
<li>
|
||||
<DownloadFileLink
|
||||
data={private_key}
|
||||
filename="key.pem"
|
||||
mimetype={CertMimeType} />
|
||||
</li>
|
||||
<li>
|
||||
<a href={SECURITY_DLL_URL}>security.dll 32-bit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href={SECURITY_DLL_64_URL}>security.dll 64-bit</a>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
</>
|
||||
);
|
||||
|
||||
export default Result;
|
||||
Reference in New Issue
Block a user