using namespace anna;
void EncodedData::initialize(const xml::Node* parent)
-throw(RuntimeException) {
+noexcept(false) {
if(fromBCD(parent->find("Key1")->getAttribute("Value")->getValue(), a_value) != sizeof(DES_key_schedule))
throw RuntimeException("anna::EncodedData::initialize | Key1 no valida", ANNA_FILE_LOCATION);
}
xml::Node* EncodedData::asXML(xml::Node* parent) const
-throw(RuntimeException) {
+noexcept(false) {
parent->createAttribute("Mode", "DES3");
xml::Node* node;
string aux;
}
const std::string& EncodedData::asBCD(const DataBlock& source, string& result)
-throw() {
+{
result = "";
const char* data = source.getData();
int c;
}
int EncodedData::fromBCD(const string& source, DataBlock& result)
-throw() {
+{
result.clear();
const char* data = source.c_str();
int len = 0, maxlen = source.length();