} else if (algorithm == DNSSEC.RSAMD5) {
algorithmName = "MD5withRSA";
} else if (algorithm == DNSSEC.RSASHA1) {
algorithmName = "SHA1withRSA";
} else {
throw new NoSuchAlgorithmException("Unknown algorithm");
}
SIGRecord tmpsig = new SIGRecord(Name.root, DClass.ANY, 0, 0,
algorithm, 0, timeExpires, timeSigned,
footprint, name, null);