W3C XML Encryption Layer 7 implementation for node.js (http://www.w3.org/TR/xmlenc-core/)
Please note this is a fork from the original xml-encryption found here: https://github.com/auth0/node-xml-encryption.git
This node module changes the original XML template to adhere to Computer Associate's Layer 7 Policy Manager
npm install xml-encryption-layer7
var xmlenc = ;var options =rsa_pub: fspem: fsencryptionAlgorithm: 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'keyEncryptionAlgorithm: 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p';xmlenc
...encrypted content......encrypted content......encrypted content...
var options =key: fs;xmlenc
Currently the library supports:
EncryptedKey to transport symmetric key using:
However, you can fork and implement your own algorithm. The code supports adding more algorithms easily
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.