code: function SignedXml(idMode, options) {
    this.options = options || {};
    this.idMode = idMode
    this.references = []
    this.id = 0
    this.signingKey = null
    this.signatureAlgorithm = this.options.signatureAlgorithm || "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
    this.keyInfoProvider = null
    this.canonicalizationAlgorithm = this.options.canonicalizationAlgorithm || "http://www.w3.org/2001/10/xml-exc-c14n#"
    this.signedXml = ""
    this.signatureXml = ""
    this.signatureNode = null
    this.signatureValue = ""
    this.originalXmlWithIds = ""
    this.validationErrors = []
    this.keyInfo = null
    this.idAttributes = [ 'Id', 'ID', 'id' ];
    if (this.options.idAttribute) this.idAttributes.splice(0, 0, this.options.idAttribute);
    this.implicitTransforms = this.options.implicitTransforms || [];
  }
docs: Xml signature implementation
  
  @param {string} idMode. Value of "wssecurity" will create/validate id's with the ws-security namespace
  @param {object} options. Initial configurations