Create XML digital signature using JavaScript

I need to create XML digital signature on client.

I have plugin through which I can get:

  • How to load a PKCS#12 Digital Certificate with Javascript WebCrypto API
  • How to check a digital signature from broswer with PHP
  • Ensuring JavaScript hasn't been tampered with
  • Digital signature in browser without ActiveX/Java applet
  • js signature on chrome with OS keystore
  • WebCryptoAPI - Does it support signing with cryptographic tokens?
    • Digest value using specified digest method
    • Signature value using certificate which client selected
    • X509Data

    But I cannot make canonicalization and transformation using specified methods.

    Canonicalization: xml-exc-c14n.

    Transformation: enveloped-signature.

    Is there any JavaScript libraries which can make canonicalization and transformation of XML document?

    Thanks for any reply!

  • Written Signature on Application in c# MVC3 (non hosted) as part of Employment Application
  • Sign data using private key on client-side (javascript)
  • WebCryptoAPI - Does it support signing with cryptographic tokens?
  • Ensuring JavaScript hasn't been tampered with
  • Sign XML using pure Javascript in the browser
  • How to load a PKCS#12 Digital Certificate with Javascript WebCrypto API