code: function setProtectedBinary(node, binary) {
      if (binary instanceof ProtectedValue) {
          node.protectedValue = binary;
          node.setAttribute(XmlNames.Attr.Protected, 'True');
      } else if (binary && binary.ref) {
          node.setAttribute(XmlNames.Attr.Ref, binary.ref);
      } else {
          setBytes(node, binary);
      }
  }
docs: Sets node protected binary
  @param {Node} node
  @param {ProtectedValue|ArrayBuffer|{ref: string}|string} binary