toXML method

XMLNode toXML()

Create an element with an xmlns indicating what type of encryption was used.

Implementation

XMLNode toXML() {
  return XMLNode.xmlns(
    tag: 'encryption',
    xmlns: emeXmlns,
    attributes: <String, String>{
      'namespace': toNamespace(),
    },
  );
}