configurationSetInstance.setDisableSshPasswordAuthentication(disableSshPasswordAuthenticationInstance);
}
Element sSHElement = XmlUtility.getElementByTagNameNS(configurationSetsElement, "http://schemas.microsoft.com/windowsazure", "SSH");
if (sSHElement != null) {
SshSettings sSHInstance = new SshSettings();
configurationSetInstance.setSshSettings(sSHInstance);
Element publicKeysSequenceElement = XmlUtility.getElementByTagNameNS(sSHElement, "http://schemas.microsoft.com/windowsazure", "PublicKeys");
if (publicKeysSequenceElement != null) {
for (int i19 = 0; i19 < com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(publicKeysSequenceElement, "http://schemas.microsoft.com/windowsazure", "PublicKey").size(); i19 = i19 + 1) {
org.w3c.dom.Element publicKeysElement = ((org.w3c.dom.Element) com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(publicKeysSequenceElement, "http://schemas.microsoft.com/windowsazure", "PublicKey").get(i19));
SshSettingPublicKey publicKeyInstance = new SshSettingPublicKey();
sSHInstance.getPublicKeys().add(publicKeyInstance);
Element fingerprintElement = XmlUtility.getElementByTagNameNS(publicKeysElement, "http://schemas.microsoft.com/windowsazure", "Fingerprint");
if (fingerprintElement != null) {
String fingerprintInstance;
fingerprintInstance = fingerprintElement.getTextContent();
publicKeyInstance.setFingerprint(fingerprintInstance);
}
Element pathElement2 = XmlUtility.getElementByTagNameNS(publicKeysElement, "http://schemas.microsoft.com/windowsazure", "Path");
if (pathElement2 != null) {
String pathInstance2;
pathInstance2 = pathElement2.getTextContent();
publicKeyInstance.setPath(pathInstance2);
}
}
}
Element keyPairsSequenceElement = XmlUtility.getElementByTagNameNS(sSHElement, "http://schemas.microsoft.com/windowsazure", "KeyPairs");
if (keyPairsSequenceElement != null) {
for (int i20 = 0; i20 < com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(keyPairsSequenceElement, "http://schemas.microsoft.com/windowsazure", "KeyPair").size(); i20 = i20 + 1) {
org.w3c.dom.Element keyPairsElement = ((org.w3c.dom.Element) com.microsoft.windowsazure.core.utils.XmlUtility.getElementsByTagNameNS(keyPairsSequenceElement, "http://schemas.microsoft.com/windowsazure", "KeyPair").get(i20));
SshSettingKeyPair keyPairInstance = new SshSettingKeyPair();
sSHInstance.getKeyPairs().add(keyPairInstance);
Element fingerprintElement2 = XmlUtility.getElementByTagNameNS(keyPairsElement, "http://schemas.microsoft.com/windowsazure", "Fingerprint");
if (fingerprintElement2 != null) {
String fingerprintInstance2;
fingerprintInstance2 = fingerprintElement2.getTextContent();