2017-11-25 16:00:33 +00:00
|
|
|
import PGP from "../../operations/PGP.js";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PGP module.
|
|
|
|
*
|
|
|
|
* Libraries:
|
|
|
|
* - kbpgp
|
|
|
|
*
|
|
|
|
* @author tlwr [toby@toby.codes]
|
2018-01-12 16:52:15 +00:00
|
|
|
* @author Matt C [matt@artemisbot.uk]
|
2017-11-25 16:00:33 +00:00
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
|
|
|
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
|
|
|
|
|
|
|
OpModules.PGP = {
|
2018-03-28 23:26:48 +01:00
|
|
|
"Generate PGP Key Pair": PGP.runGenerateKeyPair,
|
|
|
|
"PGP Encrypt": PGP.runEncrypt,
|
|
|
|
"PGP Decrypt": PGP.runDecrypt,
|
|
|
|
"PGP Encrypt and Sign": PGP.runSign,
|
|
|
|
"PGP Decrypt and Verify": PGP.runVerify,
|
2017-11-25 16:00:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default OpModules;
|