for (Iterator iterator = respondWiths.iterator(); iterator.hasNext();) {
RespondWith respondWith = (RespondWith) iterator.next();
if (respondWith.equals(RespondWith.KEY_NAME)) {
KeyName keyName = new KeyName(doc, aliase);
keyInfo.add(keyName);
} else if (respondWith.equals(RespondWith.KEY_VALUE)) {
PublicKey publicKey = certs[0].getPublicKey();
KeyValue keyValue = new KeyValue(doc, publicKey);