import { __commonJS } from "../../../../../_virtual/rolldown_runtime.mjs";
import { require_escape_html } from "../../../../escape-html/index.mjs";

//#region ../../node_modules/@authenio/xml-encryption/lib/templates/keyinfo.tpl.xml.js
var require_keyinfo_tpl_xml = /* @__PURE__ */ __commonJS({ "../../node_modules/@authenio/xml-encryption/lib/templates/keyinfo.tpl.xml.js": ((exports, module) => {
	var escapehtml = require_escape_html();
	module.exports = ({ encryptionPublicCert, encryptedKey, keyEncryptionMethod }) => `
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
  <e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#">
    <e:EncryptionMethod Algorithm="${escapehtml(keyEncryptionMethod)}">
      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
    </e:EncryptionMethod>
    <KeyInfo>
      ${encryptionPublicCert}
    </KeyInfo>
    <e:CipherData>
      <e:CipherValue>${escapehtml(encryptedKey)}</e:CipherValue>
    </e:CipherData>
  </e:EncryptedKey>
</KeyInfo>
`;
}) });

//#endregion
export default require_keyinfo_tpl_xml();

export { require_keyinfo_tpl_xml };
//# sourceMappingURL=keyinfo.tpl.xml.mjs.map