toXML method

String toXML()

Implementation

String toXML() {
  return '''
            <cryptAlgorithmInfo>
                <defaultCryptAlgorithm>
                    ${defaultCryptAlgorithm.toXML()}
                </defaultCryptAlgorithm>
                <availableCryptAlgorithms>
                    ${availableCryptAlgorithms.map((e) => e.toXML()).join("")}
                </availableCryptAlgorithms>
            </cryptAlgorithmInfo>
  '''
      .replaceAll("\n", "")
      .replaceAll("\t", "")
      .replaceAll("  ", "");
}