sso
This commit is contained in:
parent
029fe23657
commit
1876580d86
911 changed files with 160008 additions and 2 deletions
12
node_modules/xml-encryption/lib/templates/encrypted-key.tpl.xml.js
generated
vendored
Normal file
12
node_modules/xml-encryption/lib/templates/encrypted-key.tpl.xml.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
var escapehtml = require('escape-html');
|
||||
|
||||
module.exports = ({ contentEncryptionMethod, keyInfo, encryptedContent }) => `
|
||||
<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
|
||||
<xenc:EncryptionMethod Algorithm="${escapehtml(contentEncryptionMethod)}" />
|
||||
${keyInfo}
|
||||
<xenc:CipherData>
|
||||
<xenc:CipherValue>${escapehtml(encryptedContent)}</xenc:CipherValue>
|
||||
</xenc:CipherData>
|
||||
</xenc:EncryptedData>
|
||||
`;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue