buf.append(encodeXMLAttributes(s));
buf.append("\"");
}
buf.append("/>\n");
}
KeyDerivation keyDerivation = enc.getKeyDerivation();
if (keyDerivation != null) {
buf.append(" <manifest:key-derivation");
s = keyDerivation.getName();
if (s != null) {
buf.append(" manifest:key-derivation-name=\"");
buf.append(encodeXMLAttributes(s));
buf.append("\"");
}
s = keyDerivation.getSalt();
if (s != null) {
buf.append(" manifest:salt=\"");
buf.append(encodeXMLAttributes(s));
buf.append("\"");
}
buf.append(" manifest:iteration-count=\"");
buf.append(keyDerivation.getIterationCount());
buf.append("\"/>\n");
}
buf.append(" </manifest:encryption-data>\n");
buf.append(" </<manifest:file-entry>\n");
} else {