UNPKG

@passify/xml-encryption

Version:

[![Build Status](https://travis-ci.org/auth0/node-xml-encryption.png)](https://travis-ci.org/auth0/node-xml-encryption)

13 lines 469 B
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#"> <e:EncryptionMethod Algorithm="<%= keyEncryptionMethod %>"> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> </e:EncryptionMethod> <KeyInfo> <%- encryptionPublicCert %> </KeyInfo> <e:CipherData> <e:CipherValue><%= encryptedKey %></e:CipherValue> </e:CipherData> </e:EncryptedKey> </KeyInfo>