dsaKeyValKDV.getKeyDataValueList().add(seedValKDV);
KeyDataValue yValKDV = new KeyDataValue(null, byte[].class.getSimpleName(), "Y", dsaKeyVal.getY(), null, dsaKeyValKDV);
dsaKeyValKDV.getKeyDataValueList().add(yValKDV);
} else if (childVal instanceof RSAKeyValueType) {
RSAKeyValueType rsaKeyVal = (RSAKeyValueType) childVal;
String rsaKeyValueTagName = kvJAXB.getName().getLocalPart();
KeyDataValue rsaKeyValKDV = new KeyDataValue(null, RSAKeyValueType.class.getSimpleName(), rsaKeyValueTagName, null, null, childKDV);
childKDV.getKeyDataValueList().add(rsaKeyValKDV);
KeyDataValue exponentValKDV = new KeyDataValue(null, byte[].class.getSimpleName(), "Exponent", rsaKeyVal.getExponent(), null, rsaKeyValKDV);
rsaKeyValKDV.getKeyDataValueList().add(exponentValKDV);
KeyDataValue modulusValKDV = new KeyDataValue(null, byte[].class.getSimpleName(), "Modulus", rsaKeyVal.getModulus(), null, rsaKeyValKDV);
rsaKeyValKDV.getKeyDataValueList().add(modulusValKDV);
}
}
}
return modelKeyValueKDV;