#include "security_db.hh"

#include "Params.hh"

#include "converter.hh"

#include "loggers.hh"

security_db::security_db(): _certificates(), _hashed_id8s() {
  loggers::get_instance().log(">>> security_db::security_db");
} // End of ctor

security_db::security_db(const std::string& p_db_path): security_db() {
  loggers::get_instance().log(">>> security_db::security_db: '%s'", p_db_path.c_str());

  if (p_db_path.empty()) {
    simulate_certificates();
    dump();
  } else {
    load_from_files(p_db_path);
    dump();
  }
} // End of ctor

security_db::~security_db() {
  _certificates.clear(); // Smart pointers will do the job
  _hashed_id8s.clear();
} // End of dtor

int security_db::get_certificate_id(const OCTETSTRING& p_hashed_id8, std::string& p_certifcate_id) const {
  loggers::get_instance().log_msg(">>> security_db::get_certificate_id: ", p_hashed_id8);

  std::vector<unsigned char> key(static_cast<const unsigned char*>(p_hashed_id8), p_hashed_id8.lengthof() + static_cast<const unsigned char*>(p_hashed_id8));
  std::map<const std::vector<unsigned char>, const std::string&>::const_iterator it = _hashed_id8s.find(key);
  if (it == _hashed_id8s.cend()) {
    p_certifcate_id = "";
    return -1;
  }
  p_certifcate_id = it->second;

  return 0;
}

int security_db::get_certificate(const std::string& p_certificate_id, OCTETSTRING& p_certificate) const {
  loggers::get_instance().log(">>> security_db::get_certificate: '%s'", p_certificate_id.c_str());

  std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(p_certificate_id);
  if (it == _certificates.cend()) {
    loggers::get_instance().warning("security_db::get_certificate: record not found");
    return -1;
  }
  const std::vector<unsigned char> cert = it->second.get()->certificate();
  p_certificate = OCTETSTRING(cert.size(), cert.data());
  
  return 0;
}

int security_db::get_hashed_id_issuer(const std::string& p_certificate_id, OCTETSTRING& p_hashed_id_issuer) const {
  loggers::get_instance().log(">>> security_db::get_hashed_id_issuer: '%s'", p_certificate_id.c_str());

  std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(p_certificate_id);
  if (it == _certificates.cend()) {
    loggers::get_instance().warning("security_db::get_certificate: record not found");
    return -1;
  }
  const std::vector<unsigned char> hashed_id_issuer = it->second.get()->hashed_id_issuer();
  p_hashed_id_issuer = OCTETSTRING(hashed_id_issuer.size(), hashed_id_issuer.data());
  
  return 0;
}

int security_db::get_hashed_id(const std::string& p_certificate_id, OCTETSTRING& p_hashed_id) const {
  loggers::get_instance().log(">>> security_db::get_hashed_id: '%s'", p_certificate_id.c_str());

  std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(p_certificate_id);
  if (it == _certificates.cend()) {
    loggers::get_instance().warning("security_db::get_certificate: record not found");
    return -1;
  }
  const std::vector<unsigned char> hashed_id = it->second.get()->hashed_id();
  p_hashed_id = OCTETSTRING(hashed_id.size(), hashed_id.data());
  
  return 0;
}

int security_db::get_private_key(const std::string& p_certificate_id, OCTETSTRING& p_private_key) const {
  loggers::get_instance().log(">>> security_db::get_private_key: '%s'", p_certificate_id.c_str());

  std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(p_certificate_id);
  if (it == _certificates.cend()) {
    loggers::get_instance().warning("security_db::get_certificate: record not found");
    return -1;
  }
  const std::vector<unsigned char> private_key = it->second.get()->private_key();
  p_private_key = OCTETSTRING(private_key.size(), private_key.data());
  
  return 0;
}

int security_db::get_public_keys(const std::string& p_certificate_id, OCTETSTRING& p_public_key_x, OCTETSTRING& p_public_key_y) const {
  loggers::get_instance().log(">>> security_db::get_public_keys: '%s'", p_certificate_id.c_str());

  std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(p_certificate_id);
  if (it == _certificates.cend()) {
    loggers::get_instance().warning("security_db::get_certificate: record not found");
    return -1;
  }
  const std::vector<unsigned char> public_key_x = it->second.get()->public_key_x();
  p_public_key_x = OCTETSTRING(public_key_x.size(), public_key_x.data());
  const std::vector<unsigned char> public_key_y = it->second.get()->public_key_y();
  p_public_key_y = OCTETSTRING(public_key_y.size(), public_key_y.data());
  
  return 0;
}

int security_db::load_from_files(const std::string& p_db_path) {
  loggers::get_instance().log(">>> security_db::load_from_files: '%s'", p_db_path.c_str());
  
  return -1;
}

int security_db::simulate_certificates() {
  loggers::get_instance().log(">>> security_db::simulate_certificates");

  {
    std::string key("ta_cert_nistp256_sha256_ca");
    std::vector<unsigned char> cert = converter::get_instance().hexa_to_bytes("8003008100188120535446353338204E6973745032353620526F6F742043657274696669636174650000000000010A8F1C86000A01028001248104038300018001258104038300010101E0800101800101810101010000808084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322738084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC");
    std::vector<unsigned char> issuer;
    std::vector<unsigned char> h = converter::get_instance().hexa_to_bytes("7AE33C47E0C1EF90"); // Hashed ID
    std::vector<unsigned char> pk = converter::get_instance().hexa_to_bytes("D22D278BE33B9E5659D5F531DE5B9A53E8912EE76B48242EC041667342DC9541"); // Private key
    std::vector<unsigned char> xk = converter::get_instance().hexa_to_bytes("CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB"); // Public key X
    std::vector<unsigned char> yk = converter::get_instance().hexa_to_bytes("A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273"); // Public key Y
    _certificates.insert(std::pair<const std::string, std::unique_ptr<security_db_record> >(key, std::unique_ptr<security_db_record>(new security_db_record(
                                                                                                                                                            key,
                                                                                                                                                            cert, // Certificate
                                                                                                                                                            issuer, // Hashed ID fo the issuer, empty for CA
                                                                                                                                                            h, // Hashed ID
                                                                                                                                                            pk, // Private key
                                                                                                                                                            xk, // Public key X
                                                                                                                                                            yk // Public key Y
                                                                                                                                                            ))
                                                                                            ));
    std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(key);
    if (it == _certificates.cend()) {
      return -1;
    }
    _hashed_id8s.insert(std::pair<const std::vector<unsigned char>, const std::string&>(it->second.get()->hashed_id(), it->first));
  }
  {
    std::string key = "ta_cert_nistp256_sha256_aa";
    std::vector<unsigned char> cert = converter::get_instance().hexa_to_bytes("800300807AE33C47E0C1EF9050811E535446353338204E697374503235362041412043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF78084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322739D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB");
    std::vector<unsigned char> issuer = converter::get_instance().hexa_to_bytes("7AE33C47E0C1EF90");
    std::vector<unsigned char> h = converter::get_instance().hexa_to_bytes("B72C8DC20C0B895D"); // Hashed ID
    std::vector<unsigned char> pk = converter::get_instance().hexa_to_bytes("DB35514A5B97D01807D198B2EE083806B7B80BA1BE710AC28C5E122F051DC985"); // Private key
    std::vector<unsigned char> xk = converter::get_instance().hexa_to_bytes("804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2"); // Public key X
    std::vector<unsigned char> yk = converter::get_instance().hexa_to_bytes("C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7"); // Public key Y
    _certificates.insert(std::pair<const std::string, std::unique_ptr<security_db_record> >(key, std::unique_ptr<security_db_record>(new security_db_record(
                                                                                                                                                            key,
                                                                                                                                                            cert, // Certificate
                                                                                                                                                            issuer, // Hashed ID fo the issuer, empty for CA
                                                                                                                                                            h, // Hashed ID
                                                                                                                                                            pk, // Private key
                                                                                                                                                            xk, // Public key X
                                                                                                                                                            yk // Public key Y
                                                                                                                                                            ))
                                                                                            ));
    std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(key);
    if (it == _certificates.cend()) {
      return -1;
    }
    _hashed_id8s.insert(std::pair<const std::vector<unsigned char>, const std::string&>(it->second.get()->hashed_id(), it->first));
  }
  {
    std::string key = "ta_cert_nistp256_sha256_at";
    std::vector<unsigned char> cert = converter::get_instance().hexa_to_bytes("80030080B72C8DC20C0B895D50811E535446353338204E697374503235362041542043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC88084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF750C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F");
    std::vector<unsigned char> issuer = converter::get_instance().hexa_to_bytes("B72C8DC20C0B895D");
    std::vector<unsigned char> h = converter::get_instance().hexa_to_bytes("DD2D89F4C9DE0436"); // Hashed ID
    std::vector<unsigned char> pk = converter::get_instance().hexa_to_bytes("58887AE281046FC03AA8F78DF792EC64B6922D9633A87B32515599875321640D"); // Private key
    std::vector<unsigned char> xk = converter::get_instance().hexa_to_bytes("778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F"); // Public key X
    std::vector<unsigned char> yk = converter::get_instance().hexa_to_bytes("665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8"); // Public key Y
    _certificates.insert(std::pair<const std::string, std::unique_ptr<security_db_record> >(key, std::unique_ptr<security_db_record>(new security_db_record(
                                                                                                                                                            key,
                                                                                                                                                            cert, // Certificate
                                                                                                                                                            issuer, // Hashed ID fo the issuer, empty for CA
                                                                                                                                                            h, // Hashed ID
                                                                                                                                                            pk, // Private key
                                                                                                                                                            xk, // Public key X
                                                                                                                                                            yk // Public key Y
                                                                                                                                                            ))
                                                                                            ));
    std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.find(key);
    if (it == _certificates.cend()) {
      return -1;
    }
    _hashed_id8s.insert(std::pair<const std::vector<unsigned char>, const std::string&>(it->second.get()->hashed_id(), it->first));
  }
  
  return 0;
} // End of method genrate_certificates

void security_db::dump() const {
  loggers::get_instance().log("security_db::dump_certificates: # items = %d", _certificates.size());
  for (std::map<const std::string, std::unique_ptr<security_db_record> >::const_iterator it = _certificates.cbegin(); it != _certificates.cend(); ++it) {
    security_db_record* p = it->second.get();
    loggers::get_instance().log("security_db::dump: certificate_id = %s", p->certificate_id().c_str());
    loggers::get_instance().log_to_hexa("security_db::dump: certificate = ", p->certificate().data(), p->certificate().size());
    loggers::get_instance().log_to_hexa("security_db::dump: hashed_id = ", p->hashed_id().data(), p->hashed_id().size());
    loggers::get_instance().log_to_hexa("security_db::dump: hashed_id_issuer = ", p->hashed_id_issuer().data(), p->hashed_id_issuer().size());
    loggers::get_instance().log_to_hexa("security_db::dump: private_key = ", p->private_key().data(), p->private_key().size());
    loggers::get_instance().log_to_hexa("security_db::dump: public_key_x = ", p->public_key_x().data(), p->public_key_x().size());
    loggers::get_instance().log_to_hexa("security_db::dump: public_key_y = ", p->public_key_y().data(), p->public_key_y().size());
  } // End of 'for' statement
  for (std::map<const std::vector<unsigned char>, const std::string&>::const_iterator it = _hashed_id8s.cbegin(); it != _hashed_id8s.cend(); ++it) {
    loggers::get_instance().log("security_db::dump: Hashedid8 idx = %s", it->second.c_str());
  } // End of 'for' statement
} // End of method dump

/******************************************************
File used for the example:
09:03:58.285247 hc EXECUTOR - TTCN-3 Host Controller started on vagrant. Version: CRL 113 200/6 R3B.
09:03:58.285271 hc EXECUTOR - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=Yes; LogEventTypes:=Yes; SourceInfoFormat:=Stack; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=LOG_ALL | MATCHING | DEBUG; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error
09:03:58.285503 hc WARNING - Warning: The address of MC was set to a local IP address. This may cause incorrect behavior if a HC from a remote host also connects to MC.
09:03:58.285513 hc EXECUTOR - The address of MC was set to 127.0.0.1:0.
09:03:58.285715 hc EXECUTOR - Connected to MC.
09:03:58.285770 hc EXECUTOR - This host supports UNIX domain sockets for local communication.
09:03:58.286026 hc EXECUTOR - Processing configuration data received from MC.
09:03:58.287162 hc EXECUTOR - Module LibCommon_Sync has the following parameters: {
    PX_TSYNC_TIME_LIMIT := 120.000000,
    PX_TSHUT_DOWN_TIME_LIMIT := 120.000000
}
09:03:58.287314 hc EXECUTOR - Module LibCommon_Time has the following parameters: {
    PX_TDONE := 120.000000,
    PX_TAC := 30.000000,
    PX_TNOAC := 10.000000,
    PX_TWAIT := 120.000000,
    PX_LOOP := 1.000000
}
09:03:58.287437 hc EXECUTOR - Module LibItsBtp_Pixits has the following parameters: {
    PX_SOURCE_PORT := 0,
    PX_DESTINATION_PORT := 0,
    PX_UNKNOWN_DESTINATION_PORT := 0,
    PX_DESTINATION_PORT_INFO := 0,
    PX_PAYLOAD := '0102030405'O
}
09:03:58.287593 hc EXECUTOR - Module LibItsCam_Pics has the following parameters: {
    PICS_RSU := false,
    PICS_IS_IUT_SECURED := false,
    PICS_PUBLICTRANS := false,
    PICS_SPECIALTRANS := false,
    PICS_DANGEROUSGOODS := false,
    PICS_ROADWORKS := false,
    PICS_RESCUE := false,
    PICS_EMERGENCY := false,
    PICS_SAFETY_CAR := false,
    PICS_SPECIALVEHICLECONTAINER := true,
    PICS_T_GENCAMMAX := 1.000000,
    PICS_T_GENCAMMIN := 0.100000,
    PICS_T_GENCAMDCC := 0.100000,
    PICS_CAM_GENERATION := true,
    PICS_CAM_RECEPTION := true
}
09:03:58.287704 hc EXECUTOR - Module LibItsCommon_Pixits has the following parameters: {
    PX_IUT_STATION_ID := 10143,
    PX_IUT_STATION_TYPE := 5,
    PX_TESTER_STATION_ID := 111111,
    PX_TESTER_STATION_TYPE := 3,
    PX_TS_LATITUDE := 436175790,
    PX_TS_LONGITUDE := 70546480,
    PX_TIME_DELTA := 1000,
    PX_GNSS_SCENARIO_SUPPORT := false,
    PX_CERT_FOR_TS := "CERT_TS_A_AT"
}
09:03:58.287871 hc EXECUTOR - Module LibItsDenm_Pics has the following parameters: {
    PICS_DENM_GENERATION := true,
    PICS_DENM_RECEPTION := true,
    PICS_DENM_UPDATE := true,
    PICS_DENM_REPETITION := true,
    PICS_DENM_CANCELLATION := true,
    PICS_DENM_NEGATION := false,
    PICS_DENM_KAF := false,
    PICS_IMPACT_REDUCTION := true,
    PICS_IS_IUT_SECURED := false
}
09:03:58.288028 hc EXECUTOR - Module LibItsGeoNetworking_Pics has the following parameters: {
    PICS_GN_LOCAL_GN_ADDR := {
        typeOfAddress := e_initial (0),
        stationType := e_unknown (0),
        stationCountryCode := 0,
        mid := '4C5E0C14D2EA'O
    },
    PICS_GN_LOCAL_ADDR_CONF_METHOD := e_anonymous (2),
    PICS_GN_IS_MOBILE := true,
    PICS_GN_MINIMUM_UPDATE_FREQUENCY_LPV := 1000,
    PICS_GN_MAX_SDU_SIZE := 1398,
    PICS_GN_MAX_GN_HEADER_SIZE := 88,
    PICS_GN_LIFETIME_LOC_TE := 20,
    PICS_GN_SECURITY := false,
    PICS_GN_LOCATION_SERVICE_MAX_RETRANS := 10,
    PICS_GN_LOCATION_SERVICE_RETRANSMIT_TIMER := 1000,
    PICS_GN_LOCATION_SERVICE_PACKET_BUFFER_SIZE := 1024,
    PICS_GN_BEACON_SERVICE_RETRANSMIT_TIMER := 3000,
    PICS_GN_BEACON_SERVICE_MAX_JITTER := 750,
    PICS_GN_DEFAULT_HOP_LIMIT := 10,
    PICS_GN_MAX_PACKET_LIFETIME := 600,
    PICS_GN_MAX_GEO_AREA_SIZE := 10.000000,
    PICS_GN_MIN_PACKET_REPETITION_INTERVAL := 100,
    PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM := e_greedy (1),
    PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM := e_advanced (3),
    PICS_GN_GEOUNICAST_CBF_MIN_TIME := 1,
    PICS_GN_GEOUNICAST_CBF_MAX_TIME := 100,
    PICS_GN_GEOBROADCAST_CBF_MIN_TIME := 1,
    PICS_GN_GEOBROADCAST_CBF_MAX_TIME := 100,
    PICS_GN_DEFAULT_MAX_COMMUNICATION_RANGE := 1000,
    PICS_GN_UC_FORWARDING_PACKET_BUFFER_SIZE := 256,
    PICS_GN_BC_FORWARDING_PACKET_BUFFER_SIZE := 1024,
    PICS_GN_BASIC_HEADER := true,
    PICS_GN_COMMON_HEADER := true,
    PICS_GN_BEACON_SRC := true,
    PICS_GN_BEACON_DST := true,
    PICS_GN_GUC_SRC := true,
    PICS_GN_GUC_DST := true,
    PICS_GN_GUC_FWD := true,
    PICS_GN_GBC_SRC := true,
    PICS_GN_GBC_DST := true,
    PICS_GN_GBC_FWD := true,
    PICS_GN_GAC_SRC := true,
    PICS_GN_GAC_DST := true,
    PICS_GN_GAC_FWD := true,
    PICS_GN_SHB_SRC := true,
    PICS_GN_SHB_DST := true,
    PICS_GN_TSB_SRC := true,
    PICS_GN_TSB_DST := true,
    PICS_GN_TSB_FWD := true,
    PICS_GN_LS_REQ_SRC := true,
    PICS_GN_LS_REQ_RETRANSMISSION := true,
    PICS_GN_LS_REQ_DST := true,
    PICS_GN_LS_REP_DST := true,
    PICS_GN_LS_FWD := true,
    PICS_GN_ADDR_AUTO := true,
    PICS_GN_ADDR_MANAGED := true,
    PICS_GN_ADDR_ANONYMOUS := true,
    PICS_GN_DAD := true,
    PICS_GN_ADVANCED_BC_FORWARDING_MAX_COUNTER := 3,
    PICS_IUT_MAC_ADDRESS := 'FFFFFFFFFFFF'O,
    PICS_IS_IUT_SECURED := false
}
09:03:58.288309 hc EXECUTOR - Module LibItsGeoNetworking_Pixits has the following parameters: {
    PX_TS_NODE_A_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000A'O
    },
    PX_TS_NODE_B_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000B'O
    },
    PX_TS_NODE_C_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000C'O
    },
    PX_TS_NODE_D_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000D'O
    },
    PX_TS_NODE_E_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000E'O
    },
    PX_TS_NODE_F_LOCAL_GN_ADDR := {
        typeOfAddress := e_manual (1),
        stationType := e_passengerCar (5),
        stationCountryCode := 0,
        mid := '00000000000F'O
    },
    PX_MIN_NR_NEIGHBOUR := 50,
    PX_MAX_NR_NEIGHBOUR := 50,
    PX_GN_APPLICATION_MAX_RETRANS := 10,
    PX_T_DELTA := 0.100000,
    PX_GN_BEACON_SERVICE_TIMER_MEDIUM := 5000,
    PX_GN_BEACON_SERVICE_TIMER_MAXIMUM := 8000,
    PX_GN_LOCATION_SERVICE_TIMER_MEDIUM := 2000,
    PX_GN_LOCATION_SERVICE_TIMER_MAXIMUM := 3000,
    PX_GN_APPLICATION_RETRANSMIT_TIMER := 1000,
    PX_GN_APPLICATION_RETRANSMIT_TIMER_MEDIUM := 2000,
    PX_GN_APPLICATION_RETRANSMIT_TIMER_MAXIMUM := 3000,
    PX_POS_DELTA := 1,
    PX_GN_UPPER_LAYER := e_any (0),
    PX_BTP_IN_UT_IND := true,
    PX_MESSAGE_COUNT := 5,
    PX_NEIGHBOUR_DISCOVERY_DELAY := 1.000000
}
09:03:58.288582 hc EXECUTOR - Module LibItsIpv6OverGeoNetworking_Pics has the following parameters: {
    PICS_GN6_ASL_VI_RESOL_ADDR := true
}
09:03:58.288735 hc EXECUTOR - Module LibItsIpv6OverGeoNetworking_Pixits has the following parameters: {
    PX_CONFIG_MANUAL_GVL := false,
    PX_T_BUILD_CONFIG := 5.000000,
    PX_GN6_PREFIX_1 := '3FFE0000000000010000000000000000'O,
    PX_GN6_PREFIX_2 := '3FFE0000000000020000000000000000'O,
    PX_GN6_PREFIX_3 := '3FFE0000000000030000000000000000'O,
    PX_GN6_PREFIX_LENGTH_1 := 64,
    PX_GN6_PREFIX_LENGTH_2 := 64,
    PX_GN6_PREFIX_LENGTH_3 := 64,
    PX_GN6_TVL_INTERFACE_NAME := "tvl0"
}
09:03:58.288960 hc EXECUTOR - Module LibItsIvim_Pics has the following parameters: {
    PICS_IS_IUT_SECURED := false,
    PICS_IVIM_GENERATION := true,
    PICS_IVIM_UPDATE := true,
    PICS_IVIM_CANCELLATION := true,
    PICS_IVIM_NEGATION := true,
    PICS_IVIM_RECEPTION := true,
    PICS_T_GENIVIMMIN := 4.000000,
    PICS_T_GENIVIMMAX := 10.000000
}
09:03:58.289102 hc EXECUTOR - Module LibItsIvim_Pixits has the following parameters: {
    PX_PROVIDER := {
        countryCode := '0000000000'B,
        providerIdentifier := 0
    }
}
09:03:58.289867 hc EXECUTOR - Module LibItsMapemSpatem_Pics has the following parameters: {
    PICS_IS_IUT_SECURED := false,
    PICS_MAPEM_GENERATION := true,
    PICS_MAPEM_RECEPTION := true,
    PICS_SPATEM_GENERATION := true,
    PICS_SPATEM_RECEPTION := true
}
09:03:58.290084 hc EXECUTOR - Module LibItsMapemSpatem_Pixits has the following parameters: {
    PX_MSG_ISSUE_REVISION := 10,
    PX_INTERSECTIONSTATE_REVISION := 20,
    PX_INTERSECTION_ID := 1500,
    PX_SIGNAL_GROUP_ID := 128
}
09:03:58.290190 hc EXECUTOR - Module LibItsSecurity_Pics has the following parameters: {
    PICS_CERTIFICATE_SELECTION := true,
    PICS_USE_CIRCULAR_REGION := true,
    PICS_USE_RECTANGULAR_REGION := true,
    PICS_USE_POLYGONAL_REGION := true,
    PICS_USE_IDENTIFIED_REGION := true,
    PICS_USE_UN_STATS_REGION_DICTIONARY := true,
    PICS_USE_ISO31661_REGION_DICTIONARY := true,
    PICS_ITS_AID_OTHER_PROFILE := true
}
09:03:58.290511 hc EXECUTOR - Module LibItsSecurity_Pixits has the following parameters: {
    PX_CERTIFICATE_POOL_PATH := "data/certificates",
    PX_IUT_SEC_CONFIG_NAME := "",
    PX_IUT_DEFAULT_CERTIFICATE := "CERT_IUT_A_AT",
    PX_OTHER_ITS_AID := 141,
    PX_WRONG_PROTOCOL_VERSION := 1,
    PX_WGSLONGITUDE := 0,
    PX_WGSLATITUDE := 0,
    PX_OTHER_CERT_DIGEST := '0000000000000000'O,
    PX_ENCRYPTIONPARAMETERS_AES_128_CCM_NONCE := 'C0FFEEDECAC0FFEEDECA0000'O
}
09:03:58.290636 hc EXECUTOR - Module LibItsSremSsem_Pics has the following parameters: {
    PICS_IS_IUT_SECURED := false,
    PICS_SREM_GENERATION := true,
    PICS_SREM_RECEPTION := true,
    PICS_SSEM_GENERATION := true,
    PICS_SSEM_RECEPTION := true
}
09:03:58.290793 hc EXECUTOR - Module LibItsSremSsem_Pixits has the following parameters: {
    PX_BASICVEHICLEROLE := emergency (6),
    PX_REQUESTIMPORTANCELEVEL := requestImportanceLevel13 (13),
    PX_SECOND := 0,
    PX_STATUS := {
        region := omit,
        id := 0
    }
}
09:03:58.291039 hc EXECUTOR - Initializing module AVIAEINumberingAndDataStructures.
09:03:58.291195 hc EXECUTOR - Initialization of module AVIAEINumberingAndDataStructures finished.
09:03:58.291303 hc EXECUTOR - Initializing module AddGrpC.
09:03:58.291481 hc EXECUTOR - Initialization of module AddGrpC finished.
09:03:58.291583 hc EXECUTOR - Initializing module AddGrpC-noCircular.
09:03:58.291738 hc EXECUTOR - Initialization of module AddGrpC-noCircular finished.
09:03:58.291833 hc EXECUTOR - Initializing module CAM-PDU-Descriptions.
09:03:58.291999 hc EXECUTOR - Initialization of module CAM-PDU-Descriptions finished.
09:03:58.292102 hc EXECUTOR - Initializing module CITSapplMgmtIDs.
09:03:58.292241 hc EXECUTOR - Initialization of module CITSapplMgmtIDs finished.
09:03:58.292335 hc EXECUTOR - Initializing module DENM-PDU-Descriptions.
09:03:58.292475 hc EXECUTOR - Initialization of module DENM-PDU-Descriptions finished.
09:03:58.292566 hc EXECUTOR - Initializing module DSRC.
09:03:58.292710 hc EXECUTOR - Initialization of module DSRC finished.
09:03:58.292806 hc EXECUTOR - Initializing module DSRC-REGION-noCircular.
09:03:58.292952 hc EXECUTOR - Initialization of module DSRC-REGION-noCircular finished.
09:03:58.293044 hc EXECUTOR - Initializing module EV-RechargingSpotReservation-PDU-Descriptions.
09:03:58.293187 hc EXECUTOR - Initialization of module EV-RechargingSpotReservation-PDU-Descriptions finished.
09:03:58.293285 hc EXECUTOR - Initializing module EVCSN-PDU-Descriptions.
09:03:58.293446 hc EXECUTOR - Initialization of module EVCSN-PDU-Descriptions finished.
09:03:58.293566 hc EXECUTOR - Initializing module EfcDsrcApplication.
09:03:58.293744 hc EXECUTOR - Initialization of module EfcDsrcApplication finished.
09:03:58.293848 hc EXECUTOR - Initializing module EfcDsrcGeneric.
09:03:58.294042 hc EXECUTOR - Initialization of module EfcDsrcGeneric finished.
09:03:58.294188 hc EXECUTOR - Initializing module ElectronicRegistrationIdentificationVehicleDataModule.
09:03:58.294951 hc EXECUTOR - Initialization of module ElectronicRegistrationIdentificationVehicleDataModule finished.
09:03:58.295040 hc EXECUTOR - Initializing module EtsiTs102941BaseTypes.
09:03:58.295077 hc EXECUTOR - Initialization of module EtsiTs102941BaseTypes finished.
09:03:58.295105 hc EXECUTOR - Initializing module EtsiTs102941Its-sMessages.
09:03:58.295128 hc EXECUTOR - Initialization of module EtsiTs102941Its-sMessages finished.
09:03:58.295153 hc EXECUTOR - Initializing module EtsiTs102941OfflineDataStructures.
09:03:58.295176 hc EXECUTOR - Initialization of module EtsiTs102941OfflineDataStructures finished.
09:03:58.295199 hc EXECUTOR - Initializing module EtsiTs102941TrustLists.
09:03:58.295222 hc EXECUTOR - Initialization of module EtsiTs102941TrustLists finished.
09:03:58.295247 hc EXECUTOR - Initializing module EtsiTs103097Module.
09:03:58.295271 hc EXECUTOR - Initialization of module EtsiTs103097Module finished.
09:03:58.295293 hc EXECUTOR - Initializing module IEEE1609dot2.
09:03:58.295315 hc EXECUTOR - Initialization of module IEEE1609dot2 finished.
09:03:58.295339 hc EXECUTOR - Initializing module IEEE1609dot2BaseTypes.
09:03:58.295360 hc EXECUTOR - Initialization of module IEEE1609dot2BaseTypes finished.
09:03:58.295383 hc EXECUTOR - Initializing module ITS-Container.
09:03:58.295441 hc EXECUTOR - Initialization of module ITS-Container finished.
09:03:58.295469 hc EXECUTOR - Initializing module IVI.
09:03:58.295491 hc EXECUTOR - Initialization of module IVI finished.
09:03:58.295512 hc EXECUTOR - Initializing module IVIM-PDU-Descriptions.
09:03:58.295533 hc EXECUTOR - Initialization of module IVIM-PDU-Descriptions finished.
09:03:58.295553 hc EXECUTOR - Initializing module LibCommon_AbstractData.
09:03:58.295574 hc EXECUTOR ../ttcn/LibCommon_AbstractData.ttcn:0 Initializing module LibCommon_BasicTypesAndValues.
09:03:58.295606 hc EXECUTOR ../ttcn/LibCommon_AbstractData.ttcn:0 Initialization of module LibCommon_BasicTypesAndValues finished.
09:03:58.295628 hc EXECUTOR - Initialization of module LibCommon_AbstractData finished.
09:03:58.295649 hc EXECUTOR - Initializing module LibCommon_DataStrings.
09:03:58.295670 hc EXECUTOR - Initialization of module LibCommon_DataStrings finished.
09:03:58.295690 hc EXECUTOR - Initializing module LibCommon_Sync.
09:03:58.295711 hc EXECUTOR ../ttcn/LibCommon_Sync.ttcn:0 Initializing module LibCommon_VerdictControl.
09:03:58.295734 hc EXECUTOR ../ttcn/LibCommon_Sync.ttcn:0 Initialization of module LibCommon_VerdictControl finished.
09:03:58.295758 hc EXECUTOR - Initialization of module LibCommon_Sync finished.
09:03:58.295778 hc EXECUTOR - Initializing module LibCommon_TextStrings.
09:03:58.295800 hc EXECUTOR - Initialization of module LibCommon_TextStrings finished.
09:03:58.295821 hc EXECUTOR - Initializing module LibCommon_Time.
09:03:58.295842 hc EXECUTOR - Initialization of module LibCommon_Time finished.
09:03:58.295862 hc EXECUTOR - Initializing module LibItsBtp_EncdecDeclarations.
09:03:58.295883 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0 Initializing module LibItsBtp_TestSystem.
09:03:58.295905 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initializing module LibItsCommon_TestSystem.
09:03:58.295965 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initialization of module LibItsCommon_TestSystem finished.
09:03:58.295993 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initializing module LibItsCommon_TypesAndValues.
09:03:58.296017 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initialization of module LibItsCommon_TypesAndValues finished.
09:03:58.296041 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initializing module LibItsBtp_TypesAndValues.
09:03:58.296065 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0->../ttcn/LibItsBtp_TestSystem.ttcn:0 Initialization of module LibItsBtp_TypesAndValues finished.
09:03:58.296087 hc EXECUTOR ../ttcn/LibItsBtp_EncdecDeclarations.ttcn:0 Initialization of module LibItsBtp_TestSystem finished.
09:03:58.296223 hc EXECUTOR - Initialization of module LibItsBtp_EncdecDeclarations finished.
09:03:58.296265 hc EXECUTOR - Initializing module LibItsBtp_Functions.
09:03:58.296517 hc EXECUTOR ../ttcn/LibItsBtp_Functions.ttcn:0 Initializing module LibItsBtp_Templates.
09:03:58.296571 hc EXECUTOR ../ttcn/LibItsBtp_Functions.ttcn:0->../ttcn/LibItsBtp_Templates.ttcn:0 Initializing module LibItsBtp_Pixits.
09:03:58.296611 hc EXECUTOR ../ttcn/LibItsBtp_Functions.ttcn:0->../ttcn/LibItsBtp_Templates.ttcn:0 Initialization of module LibItsBtp_Pixits finished.
09:03:58.296780 hc EXECUTOR ../ttcn/LibItsBtp_Functions.ttcn:0 Initialization of module LibItsBtp_Templates finished.
09:03:58.296833 hc EXECUTOR - Initialization of module LibItsBtp_Functions finished.
09:03:58.296867 hc EXECUTOR - Initializing module LibItsCam_EncdecDeclarations.
09:03:58.296899 hc EXECUTOR ../ttcn/LibItsCam_EncdecDeclarations.ttcn:0 Initializing module LibItsCam_TestSystem.
09:03:58.297036 hc EXECUTOR ../ttcn/LibItsCam_EncdecDeclarations.ttcn:0->../ttcn/LibItsCam_TestSystem.ttcn:0 Initializing module LibItsCam_TypesAndValues.
09:03:58.297085 hc EXECUTOR ../ttcn/LibItsCam_EncdecDeclarations.ttcn:0->../ttcn/LibItsCam_TestSystem.ttcn:0 Initialization of module LibItsCam_TypesAndValues finished.
09:03:58.297248 hc EXECUTOR ../ttcn/LibItsCam_EncdecDeclarations.ttcn:0 Initialization of module LibItsCam_TestSystem finished.
09:03:58.297296 hc EXECUTOR - Initialization of module LibItsCam_EncdecDeclarations finished.
09:03:58.297329 hc EXECUTOR - Initializing module LibItsCam_Functions.
09:03:58.297361 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initializing module LibItsCommon_Templates.
09:03:58.297404 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initialization of module LibItsCommon_Templates finished.
09:03:58.297567 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initializing module LibItsCam_Templates.
09:03:58.297617 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0 Initializing module LibItsCommon_Functions.
09:03:58.297655 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0->../ttcn/LibItsCommon_Functions.ttcn:0 Initializing module LibItsCommon_Pixits.
09:03:58.297691 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0->../ttcn/LibItsCommon_Functions.ttcn:0 Initialization of module LibItsCommon_Pixits finished.
09:03:58.297854 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0 Initialization of module LibItsCommon_Functions finished.
09:03:58.297933 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0 Initializing module LibItsCommon_ASN1_NamedNumbers.
09:03:58.297983 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0->../ttcn/LibItsCam_Templates.ttcn:0 Initialization of module LibItsCommon_ASN1_NamedNumbers finished.
09:03:58.298155 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initialization of module LibItsCam_Templates finished.
09:03:58.298207 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initializing module LibItsCam_Pics.
09:03:58.298332 hc EXECUTOR ../ttcn/LibItsCam_Functions.ttcn:0 Initialization of module LibItsCam_Pics finished.
09:03:58.298387 hc EXECUTOR - Initialization of module LibItsCam_Functions finished.
09:03:58.298533 hc EXECUTOR - Initializing module LibItsCam_Pixits.
09:03:58.298842 hc EXECUTOR ../ttcn/LibItsCam_Pixits.ttcn:0 Initializing module LibItsSecurity_TypesAndValues.
09:03:58.298906 hc EXECUTOR ../ttcn/LibItsCam_Pixits.ttcn:0 Initialization of module LibItsSecurity_TypesAndValues finished.
09:03:58.299091 hc EXECUTOR - Initialization of module LibItsCam_Pixits finished.
09:03:58.299983 hc EXECUTOR - Initializing module LibItsCommon_ASN1_ISDSRC_NamedNumbers.
09:03:58.300138 hc EXECUTOR - Initialization of module LibItsCommon_ASN1_ISDSRC_NamedNumbers finished.
09:03:58.300192 hc EXECUTOR - Initializing module LibItsDenm_EncdecDeclarations.
09:03:58.300256 hc EXECUTOR ../ttcn/LibItsDenm_EncdecDeclarations.ttcn:0 Initializing module LibItsDenm_TestSystem.
09:03:58.300307 hc EXECUTOR ../ttcn/LibItsDenm_EncdecDeclarations.ttcn:0->../ttcn/LibItsDenm_TestSystem.ttcn:0 Initializing module LibItsDenm_TypesAndValues.
09:03:58.300344 hc EXECUTOR ../ttcn/LibItsDenm_EncdecDeclarations.ttcn:0->../ttcn/LibItsDenm_TestSystem.ttcn:0 Initialization of module LibItsDenm_TypesAndValues finished.
09:03:58.300374 hc EXECUTOR ../ttcn/LibItsDenm_EncdecDeclarations.ttcn:0 Initialization of module LibItsDenm_TestSystem finished.
09:03:58.300446 hc EXECUTOR - Initialization of module LibItsDenm_EncdecDeclarations finished.
09:03:58.300477 hc EXECUTOR - Initializing module LibItsDenm_Functions.
09:03:58.300523 hc EXECUTOR ../ttcn/LibItsDenm_Functions.ttcn:0 Initializing module LibItsDenm_Templates.
09:03:58.300626 hc EXECUTOR ../ttcn/LibItsDenm_Functions.ttcn:0 Initialization of module LibItsDenm_Templates finished.
09:03:58.300678 hc EXECUTOR ../ttcn/LibItsDenm_Functions.ttcn:0 Initializing module LibItsDenm_Pics.
09:03:58.300705 hc EXECUTOR ../ttcn/LibItsDenm_Functions.ttcn:0 Initialization of module LibItsDenm_Pics finished.
09:03:58.300746 hc EXECUTOR - Initialization of module LibItsDenm_Functions finished.
09:03:58.300773 hc EXECUTOR - Initializing module LibItsDenm_Pixits.
09:03:58.300809 hc EXECUTOR - Initialization of module LibItsDenm_Pixits finished.
09:03:58.300837 hc EXECUTOR - Initializing module LibItsExternal_TypesAndValues.
09:03:58.300858 hc EXECUTOR - Initialization of module LibItsExternal_TypesAndValues finished.
09:03:58.300911 hc EXECUTOR - Initializing module LibItsGeoNetworking_EncdecDeclarations.
09:03:58.300966 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0 Initializing module LibItsGeoNetworking_TestSystem.
09:03:58.300998 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initializing module LibItsGeoNetworking_TypesAndValues.
09:03:58.301034 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initialization of module LibItsGeoNetworking_TypesAndValues finished.
09:03:58.301065 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initializing module LibItsSecurity_TestSystem.
09:03:58.301089 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0->../ttcn/LibItsSecurity_TestSystem.ttcn:0 Initializing module LibItsSecurity_Pixits.
09:03:58.301133 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0->../ttcn/LibItsSecurity_TestSystem.ttcn:0 Initialization of module LibItsSecurity_Pixits finished.
09:03:58.301159 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initialization of module LibItsSecurity_TestSystem finished.
09:03:58.301183 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initializing module LibItsIpv6OverGeoNetworking_TypesAndValues.
09:03:58.301208 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0->../ttcn/LibItsGeoNetworking_TestSystem.ttcn:0 Initialization of module LibItsIpv6OverGeoNetworking_TypesAndValues finished.
09:03:58.301233 hc EXECUTOR ../ttcn/LibItsGeoNetworking_EncdecDeclarations.ttcn:0 Initialization of module LibItsGeoNetworking_TestSystem finished.
09:03:58.301256 hc EXECUTOR - Initialization of module LibItsGeoNetworking_EncdecDeclarations finished.
09:03:58.301685 hc EXECUTOR - Initializing module LibItsGeoNetworking_Functions.
09:03:58.302019 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initializing module LibItsSecurity_Functions.
09:03:58.302115 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsSecurity_Functions.ttcn:0 Initializing module LibItsSecurity_Templates.
09:03:58.302238 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsSecurity_Functions.ttcn:0 Initialization of module LibItsSecurity_Templates finished.
09:03:58.302432 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsSecurity_Functions.ttcn:0 Initializing module LibItsSecurity_EncdecDeclarations.
09:03:58.302667 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsSecurity_Functions.ttcn:0 Initialization of module LibItsSecurity_EncdecDeclarations finished.
09:03:58.302792 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initialization of module LibItsSecurity_Functions finished.
09:03:58.302850 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initializing module LibItsGeoNetworking_Templates.
09:03:58.303019 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsGeoNetworking_Templates.ttcn:0 Initializing module LibItsGeoNetworking_Pixits.
09:03:58.303079 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0->../ttcn/LibItsGeoNetworking_Templates.ttcn:0 Initialization of module LibItsGeoNetworking_Pixits finished.
09:03:58.303195 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initialization of module LibItsGeoNetworking_Templates finished.
09:03:58.303331 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initializing module LibItsGeoNetworking_Pics.
09:03:58.303388 hc EXECUTOR ../ttcn/LibItsGeoNetworking_Functions.ttcn:0 Initialization of module LibItsGeoNetworking_Pics finished.
09:03:58.303505 hc EXECUTOR - Initialization of module LibItsGeoNetworking_Functions finished.
09:03:58.303604 hc EXECUTOR - Initializing module LibItsIpv6OverGeoNetworking_EncdecDeclarations.
09:03:58.303652 hc EXECUTOR - Initialization of module LibItsIpv6OverGeoNetworking_EncdecDeclarations finished.
09:03:58.303733 hc EXECUTOR - Initializing module LibItsIpv6OverGeoNetworking_Functions.
09:03:58.303784 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0 Initializing module LibItsIpv6OverGeoNetworking_Templates.
09:03:58.303954 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0->../ttcn/LibItsIpv6OverGeoNetworking_Templates.ttcn:0 Initializing module LibItsIpv6OverGeoNetworking_TestSystem.
09:03:58.304001 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0->../ttcn/LibItsIpv6OverGeoNetworking_Templates.ttcn:0 Initialization of module LibItsIpv6OverGeoNetworking_TestSystem finished.
09:03:58.304029 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0 Initialization of module LibItsIpv6OverGeoNetworking_Templates finished.
09:03:58.304054 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0 Initializing module LibItsIpv6OverGeoNetworking_Pixits.
09:03:58.304077 hc EXECUTOR ../ttcn/LibItsIpv6OverGeoNetworking_Functions.ttcn:0 Initialization of module LibItsIpv6OverGeoNetworking_Pixits finished.
09:03:58.304100 hc EXECUTOR - Initialization of module LibItsIpv6OverGeoNetworking_Functions finished.
09:03:58.304121 hc EXECUTOR - Initializing module LibItsIpv6OverGeoNetworking_Pics.
09:03:58.304143 hc EXECUTOR - Initialization of module LibItsIpv6OverGeoNetworking_Pics finished.
09:03:58.304229 hc EXECUTOR - Initializing module LibItsIvim_ASN1_IVInamedNumbers.
09:03:58.304275 hc EXECUTOR - Initialization of module LibItsIvim_ASN1_IVInamedNumbers finished.
09:03:58.304308 hc EXECUTOR - Initializing module LibItsIvim_EncdecDeclarations.
09:03:58.305041 hc EXECUTOR ../ttcn/LibItsIvim_EncdecDeclarations.ttcn:0 Initializing module LibItsIvim_TestSystem.
09:03:58.305133 hc EXECUTOR ../ttcn/LibItsIvim_EncdecDeclarations.ttcn:0->../ttcn/LibItsIvim_TestSystem.ttcn:0 Initializing module LibItsIvim_TypesAndValues.
09:03:58.305169 hc EXECUTOR ../ttcn/LibItsIvim_EncdecDeclarations.ttcn:0->../ttcn/LibItsIvim_TestSystem.ttcn:0 Initialization of module LibItsIvim_TypesAndValues finished.
09:03:58.305200 hc EXECUTOR ../ttcn/LibItsIvim_EncdecDeclarations.ttcn:0 Initialization of module LibItsIvim_TestSystem finished.
09:03:58.305225 hc EXECUTOR - Initialization of module LibItsIvim_EncdecDeclarations finished.
09:03:58.305250 hc EXECUTOR - Initializing module LibItsIvim_Functions.
09:03:58.305274 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initializing module LibItsIvim_Templates.
09:03:58.305310 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initialization of module LibItsIvim_Templates finished.
09:03:58.305334 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initializing module LibItsIvim_Pics.
09:03:58.305357 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initialization of module LibItsIvim_Pics finished.
09:03:58.305385 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initializing module LibItsIvim_Pixits.
09:03:58.305406 hc EXECUTOR ../ttcn/LibItsIvim_Functions.ttcn:0 Initialization of module LibItsIvim_Pixits finished.
09:03:58.305458 hc EXECUTOR - Initialization of module LibItsIvim_Functions finished.
09:03:58.305484 hc EXECUTOR - Initializing module LibItsMapemSpatem_EncdecDeclarations.
09:03:58.305506 hc EXECUTOR - Initialization of module LibItsMapemSpatem_EncdecDeclarations finished.
09:03:58.305527 hc EXECUTOR - Initializing module LibItsMapemSpatem_Functions.
09:03:58.305552 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0 Initializing module LibItsMapemSpatem_Templates.
09:03:58.305575 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0 Initializing module LibItsMapemSpatem_TestSystem.
09:03:58.305599 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0->../ttcn/LibItsMapemSpatem_TestSystem.ttcn:0 Initializing module LibItsMapemSpatem_TypesAndValues.
09:03:58.305625 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0->../ttcn/LibItsMapemSpatem_TestSystem.ttcn:0 Initialization of module LibItsMapemSpatem_TypesAndValues finished.
09:03:58.305659 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0 Initialization of module LibItsMapemSpatem_TestSystem finished.
09:03:58.305684 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0 Initializing module LibItsMapemSpatem_Pixits.
09:03:58.305708 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0->../ttcn/LibItsMapemSpatem_Templates.ttcn:0 Initialization of module LibItsMapemSpatem_Pixits finished.
09:03:58.305801 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0 Initialization of module LibItsMapemSpatem_Templates finished.
09:03:58.305830 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0 Initializing module LibItsMapemSpatem_Pics.
09:03:58.305853 hc EXECUTOR ../ttcn/LibItsMapemSpatem_Functions.ttcn:0 Initialization of module LibItsMapemSpatem_Pics finished.
09:03:58.305875 hc EXECUTOR - Initialization of module LibItsMapemSpatem_Functions finished.
09:03:58.305899 hc EXECUTOR - Initializing module LibItsSecurity_Pics.
09:03:58.305964 hc EXECUTOR - Initialization of module LibItsSecurity_Pics finished.
09:03:58.305993 hc EXECUTOR - Initializing module LibItsSremSsem_EncdecDeclarations.
09:03:58.306014 hc EXECUTOR - Initialization of module LibItsSremSsem_EncdecDeclarations finished.
09:03:58.306036 hc EXECUTOR - Initializing module LibItsSremSsem_Functions.
09:03:58.306057 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0 Initializing module LibItsSremSsem_Templates.
09:03:58.306080 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0 Initializing module LibItsSremSsem_TestSystem.
09:03:58.306104 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0->../ttcn/LibItsSremSsem_TestSystem.ttcn:0 Initializing module LibItsSremSsem_TypesAndValues.
09:03:58.306130 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0->../ttcn/LibItsSremSsem_TestSystem.ttcn:0 Initialization of module LibItsSremSsem_TypesAndValues finished.
09:03:58.306257 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0 Initialization of module LibItsSremSsem_TestSystem finished.
09:03:58.306311 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0 Initializing module LibItsSremSsem_Pixits.
09:03:58.306557 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0->../ttcn/LibItsSremSsem_Templates.ttcn:0 Initialization of module LibItsSremSsem_Pixits finished.
09:03:58.306820 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0 Initialization of module LibItsSremSsem_Templates finished.
09:03:58.307001 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0 Initializing module LibItsSremSsem_Pics.
09:03:58.307053 hc EXECUTOR ../ttcn/LibItsSremSsem_Functions.ttcn:0 Initialization of module LibItsSremSsem_Pics finished.
09:03:58.307091 hc EXECUTOR - Initialization of module LibItsSremSsem_Functions finished.
09:03:58.307124 hc EXECUTOR - Initializing module MAPEM-PDU-Descriptions.
09:03:58.307321 hc EXECUTOR - Initialization of module MAPEM-PDU-Descriptions finished.
09:03:58.307372 hc EXECUTOR - Initializing module PreGenRecordOf.
09:03:58.307406 hc EXECUTOR - Initialization of module PreGenRecordOf finished.
09:03:58.307465 hc EXECUTOR - Initializing module REGION.
09:03:58.307499 hc EXECUTOR - Initialization of module REGION finished.
09:03:58.307534 hc EXECUTOR - Initializing module SPATEM-PDU-Descriptions.
09:03:58.307571 hc EXECUTOR - Initialization of module SPATEM-PDU-Descriptions finished.
09:03:58.307693 hc EXECUTOR - Initializing module SREM-PDU-Descriptions.
09:03:58.307737 hc EXECUTOR - Initialization of module SREM-PDU-Descriptions finished.
09:03:58.307768 hc EXECUTOR - Initializing module SSEM-PDU-Descriptions.
09:03:58.307801 hc EXECUTOR - Initialization of module SSEM-PDU-Descriptions finished.
09:03:58.307976 hc EXECUTOR - Initializing module TestCodec_Btp.
09:03:58.308029 hc EXECUTOR ../ttcn/TestCodec_Btp.ttcn:0 Initializing module TestCodec_TestAndSystem.
09:03:58.308067 hc EXECUTOR ../ttcn/TestCodec_Btp.ttcn:0 Initialization of module TestCodec_TestAndSystem finished.
09:03:58.308118 hc EXECUTOR - Initialization of module TestCodec_Btp finished.
09:03:58.308155 hc EXECUTOR - Initializing module TestCodec_CAM.
09:03:58.308187 hc EXECUTOR - Initialization of module TestCodec_CAM finished.
09:03:58.308292 hc EXECUTOR - Initializing module TestCodec_Certificates.
09:03:58.308341 hc EXECUTOR - Initialization of module TestCodec_Certificates finished.
09:03:58.308375 hc EXECUTOR - Initializing module TestCodec_ChainOfCertificates.
09:03:58.308566 hc EXECUTOR - Initialization of module TestCodec_ChainOfCertificates finished.
09:03:58.308614 hc EXECUTOR - Initializing module TestCodec_DENM.
09:03:58.308639 hc EXECUTOR - Initialization of module TestCodec_DENM finished.
09:03:58.308661 hc EXECUTOR - Initializing module TestCodec_GeoNetworking.
09:03:58.308709 hc EXECUTOR - Initialization of module TestCodec_GeoNetworking finished.
09:03:58.308734 hc EXECUTOR - Initializing module TestCodec_IVIM.
09:03:58.308757 hc EXECUTOR - Initialization of module TestCodec_IVIM finished.
09:03:58.308782 hc EXECUTOR - Initializing module TestCodec_Multiport.
09:03:58.308803 hc EXECUTOR - Initialization of module TestCodec_Multiport finished.
09:03:58.308888 hc EXECUTOR - Initializing module TestCodec_SecuredFuntions.
09:03:58.308958 hc EXECUTOR - Initialization of module TestCodec_SecuredFuntions finished.
09:03:58.308994 hc EXECUTOR - Initializing module TestCodec_SecuredMessages.
09:03:58.309148 hc EXECUTOR - Initialization of module TestCodec_SecuredMessages finished.
09:03:58.309195 hc EXECUTOR - Initializing module TitanLoggerApi.
09:03:58.309232 hc EXECUTOR - Initialization of module TitanLoggerApi finished.
09:03:58.310184 hc EXECUTOR - Configuration data was processed successfully.
09:03:58.310532 hc EXECUTOR - MTC was created. Process id: 10560.
09:03:58.311027 mtc EXECUTOR - TTCN-3 Main Test Component started on vagrant. Version: CRL 113 200/6 R3B.
09:03:58.311100 mtc EXECUTOR - TTCN Logger v2.2 options: TimeStampFormat:=Time; LogEntityName:=Yes; LogEventTypes:=Yes; SourceInfoFormat:=Stack; *.FileMask:=LOG_ALL | MATCHING | DEBUG; *.ConsoleMask:=LOG_ALL | MATCHING | DEBUG; LogFileSize:=0; LogFileNumber:=1; DiskFullAction:=Error
09:03:58.311178 mtc EXECUTOR - Connected to MC.
09:03:58.311315 mtc EXECUTOR - Executing test case tc_full_check_certificate_1 in module TestCodec_ChainOfCertificates.
09:03:58.311556 mtc TESTCASE ../ttcn/TestCodec_ChainOfCertificates.ttcn:41(testcase:tc_full_check_certificate_1) Test case tc_full_check_certificate_1 started.
09:03:58.311730 mtc PARALLEL ../ttcn/TestCodec_ChainOfCertificates.ttcn:41(testcase:tc_full_check_certificate_1) Initializing variables, timers and ports of component type TestCodec_TestAndSystem.TCType inside testcase tc_full_check_certificate_1.
09:03:58.312009 mtc PARALLEL ../ttcn/TestCodec_ChainOfCertificates.ttcn:41(testcase:tc_full_check_certificate_1) Component type TestCodec_TestAndSystem.TCType was initialized.
09:03:58.312205 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:271(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::ec_keys: 0
09:03:58.312334 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:271(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::init: 0
09:03:58.313780 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:271(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::generate
09:03:58.314235 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:271(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::~ec_keys
09:03:58.314376 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:271(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) <<< ec_keys::~ec_keys
09:03:58.315831 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:298(function:f_create_ca_certificate_nistP256_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 Root Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := omit,
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := {
        {
            subjectPermissions := {
                explicit := {
                    {
                        psid := 1,
                        sspRange := {
                            all_ := NULL
                        }
                    }
                }
            },
            minChainLength := 1,
            chainLengthRange := 0,
            eeType := '00000000'B
        }
    },
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            }
        }
    }
}
09:03:58.316491 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:298(function:f_create_ca_certificate_nistP256_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.316874 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:298(function:f_create_ca_certificate_nistP256_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '188120535446353338204E6973745032353620526F6F742043657274696669636174650000000000010A8F1C86000A01028001248104038300018001258104038300010101E0800101800101810101010000808084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
09:03:58.317287 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (1): 0
09:03:58.317538 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.318046 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::sign
09:03:58.319199 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: succeed
09:03:58.322787 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: r= c4 75 7b f2 97 46 fb a5 53 ea ee 5a 79 a0 0c 6a 3b 45 f6 2a 61 04 dc ef f4 ec de a8 32 a9 f7 c4

09:03:58.323085 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: s= 7f 40 83 67 03 f5 1c f6 35 df 40 87 41 a9 2e 5c cf b6 6a 84 0c 60 1a e0 ee ed 83 2d 38 db 95 cc

09:03:58.323270 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.323503 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:300(function:f_create_ca_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.323671 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:49(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:310(function:f_create_ca_certificate_nistP256_1) f_create_ca_certificate_nistP256_1: Signed template {
    version := 3,
    type_ := explicit (0),
    issuer := {
        self_ := sha256 (0)
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 Root Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := omit,
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := {
            {
                subjectPermissions := {
                    explicit := {
                        {
                            psid := 1,
                            sspRange := {
                                all_ := NULL
                            }
                        }
                    }
                },
                minChainLength := 1,
                chainLengthRange := 0,
                eeType := '00000000'B
            }
        },
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                        y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := 'C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
        }
    }
}
09:03:58.325160 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:50(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        self_ := sha256 (0)
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 Root Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := omit,
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := {
            {
                subjectPermissions := {
                    explicit := {
                        {
                            psid := 1,
                            sspRange := {
                                all_ := NULL
                            }
                        }
                    }
                },
                minChainLength := 1,
                chainLengthRange := 0,
                eeType := '00000000'B
            }
        },
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                        y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := 'C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
        }
    }
}
09:03:58.325805 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:50(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.326047 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:50(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '8003008100188120535446353338204E6973745032353620526F6F742043657274696669636174650000000000010A8F1C86000A01028001248104038300018001258104038300010101E0800101800101810101010000808084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322738084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
09:03:58.326306 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:53(testcase:tc_full_check_certificate_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 Root Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := omit,
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := {
        {
            subjectPermissions := {
                explicit := {
                    {
                        psid := 1,
                        sspRange := {
                            all_ := NULL
                        }
                    }
                }
            },
            minChainLength := 1,
            chainLengthRange := 0,
            eeType := '00000000'B
        }
    },
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            }
        }
    }
}
09:03:58.326482 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:53(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.326682 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:53(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '188120535446353338204E6973745032353620526F6F742043657274696669636174650000000000010A8F1C86000A01028001248104038300018001258104038300010101E0800101800101810101010000808084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
09:03:58.326834 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (2): 0
09:03:58.326985 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.327289 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::sign_verif
09:03:58.327599 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) ec_keys::sign_verif: succeed
09:03:58.327747 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.328108 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:54(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.328508 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:62(testcase:tc_full_check_certificate_1) setverdict(pass): none -> pass
09:03:58.328658 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:63(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        self_ := sha256 (0)
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 Root Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := omit,
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := {
            {
                subjectPermissions := {
                    explicit := {
                        {
                            psid := 1,
                            sspRange := {
                                all_ := NULL
                            }
                        }
                    }
                },
                minChainLength := 1,
                chainLengthRange := 0,
                eeType := '00000000'B
            }
        },
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                        y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := 'C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
        }
    }
}
09:03:58.328930 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:63(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.329089 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:63(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '8003008100188120535446353338204E6973745032353620526F6F742043657274696669636174650000000000010A8F1C86000A01028001248104038300018001258104038300010101E0800101800101810101010000808084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322738084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
09:03:58.329326 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:64(testcase:tc_full_check_certificate_1) Root keys: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        self_ := sha256 (0)
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 Root Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := omit,
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := {
            {
                subjectPermissions := {
                    explicit := {
                        {
                            psid := 1,
                            sspRange := {
                                all_ := NULL
                            }
                        }
                    }
                },
                minChainLength := 1,
                chainLengthRange := 0,
                eeType := '00000000'B
            }
        },
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                        y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := 'C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
        }
    }
}
09:03:58.330543 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:401(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::ec_keys: 0
09:03:58.330711 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:401(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::init: 0
09:03:58.331041 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:401(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::generate
09:03:58.331248 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:401(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::~ec_keys
09:03:58.331430 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:401(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) <<< ec_keys::~ec_keys
09:03:58.331644 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:428(function:f_create_aa_certificate_nistP256_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 AA Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := {
        identifiedRegion := {
            {
                countryOnly := 12
            },
            {
                countryOnly := 34
            }
        }
    },
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := omit,
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            }
        }
    }
}
09:03:58.331857 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:428(function:f_create_aa_certificate_nistP256_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.332060 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:428(function:f_create_aa_certificate_nistP256_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '50811E535446353338204E697374503235362041412043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
09:03:58.332278 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (1): 0
09:03:58.332397 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.332738 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::sign
09:03:58.333021 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: succeed
09:03:58.333281 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: r= 9d 6e ce 19 ce be 36 62 68 b4 20 f4 28 8e c7 cb d8 c2 75 b0 35 7f 6b bb 05 7e cb b9 f3 59 85 f7

09:03:58.333405 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: s= 15 45 34 e2 78 33 6a 0e 76 67 5a 03 7a 46 b3 3c fa 49 51 cd ba a9 f4 13 64 da 4e 8a 4d dc eb eb

09:03:58.333644 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.333852 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:430(function:f_create_aa_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.334006 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:68(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:440(function:f_create_aa_certificate_nistP256_1) f_create_aa_certificate_nistP256_1: Signed template {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := '7AE33C47E0C1EF90'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AA Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                        y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := '9D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
        }
    }
}
09:03:58.334529 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:69(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := '7AE33C47E0C1EF90'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AA Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                        y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := '9D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
        }
    }
}
09:03:58.336911 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:69(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.337777 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:69(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '800300807AE33C47E0C1EF9050811E535446353338204E697374503235362041412043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF78084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322739D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
09:03:58.338174 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:72(testcase:tc_full_check_certificate_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 AA Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := {
        identifiedRegion := {
            {
                countryOnly := 12
            },
            {
                countryOnly := 34
            }
        }
    },
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := omit,
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            }
        }
    }
}
09:03:58.338454 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:72(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.339176 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:72(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '50811E535446353338204E697374503235362041412043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
09:03:58.339721 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (2): 0
09:03:58.340617 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.341043 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::sign_verif
09:03:58.341400 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) ec_keys::sign_verif: succeed
09:03:58.341577 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.341793 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:73(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.341943 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:81(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := '7AE33C47E0C1EF90'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AA Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                        y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := '9D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
        }
    }
}
09:03:58.342145 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:81(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.342389 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:81(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '800300807AE33C47E0C1EF9050811E535446353338204E697374503235362041412043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF78084CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CBA61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD2844322739D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
09:03:58.342728 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:82(testcase:tc_full_check_certificate_1) AA keys: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := '7AE33C47E0C1EF90'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AA Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                        y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                    y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                }
            },
            sSig := '9D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
        }
    }
}
09:03:58.343448 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:83(testcase:tc_full_check_certificate_1) setverdict(pass): pass -> pass, component reason not changed
09:03:58.343646 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:527(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::ec_keys: 0
09:03:58.343816 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:527(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::init: 0
09:03:58.344128 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:527(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::generate
09:03:58.344320 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:527(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) >>> ec_keys::~ec_keys
09:03:58.344502 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:527(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:220(function:f_generate_key_pair_nistp256) <<< ec_keys::~ec_keys
09:03:58.344685 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:554(function:f_create_at_certificate_nistP256_1) Encode template {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := 'B72C8DC20C0B895D'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AT Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                        y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                    }
                }
            }
        }
    },
    signature_ := omit
}
09:03:58.345653 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:555(function:f_create_at_certificate_nistP256_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 AT Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := {
        identifiedRegion := {
            {
                countryOnly := 12
            },
            {
                countryOnly := 34
            }
        }
    },
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := omit,
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                    y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                }
            }
        }
    }
}
09:03:58.345961 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:555(function:f_create_at_certificate_nistP256_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.346230 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:555(function:f_create_at_certificate_nistP256_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '50811E535446353338204E697374503235362041542043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
09:03:58.346470 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (1): 0
09:03:58.346734 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.347274 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::sign
09:03:58.347722 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: succeed
09:03:58.348346 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: r= 50 c6 d5 3a 1b 14 ec 95 da af b3 3c 10 59 7b a6 a6 ce f5 27 fb f3 39 d8 fd 9d 03 02 4a dd 36 2a

09:03:58.348683 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: s= d8 83 46 c0 27 e8 cb 55 75 15 92 cc f6 85 2a a2 a6 d1 e5 b7 84 60 b4 4c 77 6e 6a 20 84 72 12 7f

09:03:58.348844 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.349217 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:557(function:f_create_at_certificate_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.349465 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:87(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:567(function:f_create_at_certificate_nistP256_1) f_create_at_certificate_nistP256_1: Signed template {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := 'B72C8DC20C0B895D'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AT Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                        y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            },
            sSig := '50C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
        }
    }
}
09:03:58.351162 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:88(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := 'B72C8DC20C0B895D'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AT Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                        y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            },
            sSig := '50C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
        }
    }
}
09:03:58.353307 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:88(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.356992 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:88(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '80030080B72C8DC20C0B895D50811E535446353338204E697374503235362041542043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC88084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF750C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
09:03:58.362429 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:91(testcase:tc_full_check_certificate_1) >>> fx__enc__ToBeSignedCertificate: {
    id := {
        name := "STF538 NistP256 AT Certificate"
    },
    cracaId := '000000'O,
    crlSeries := 0,
    validityPeriod := {
        start_ := 17469212,
        duration := {
            years := 10
        }
    },
    region := {
        identifiedRegion := {
            {
                countryOnly := 12
            },
            {
                countryOnly := 34
            }
        }
    },
    assuranceLevel := omit,
    appPermissions := {
        {
            psid := 36,
            ssp := {
                bitmapSsp := '830001'O
            }
        },
        {
            psid := 37,
            ssp := {
                bitmapSsp := '830001'O
            }
        }
    },
    certIssuePermissions := omit,
    certRequestPermissions := omit,
    canRequestRollover := omit,
    encryptionKey := omit,
    verifyKeyIndicator := {
        verificationKey := {
            ecdsaNistP256 := {
                uncompressedP256 := {
                    x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                    y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                }
            }
        }
    }
}
09:03:58.366007 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:91(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_ToBeSignedCertificate::encode: @IEEE1609dot2.ToBeSignedCertificate
09:03:58.367142 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:91(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_ToBeSignedCertificate::encode: '50811E535446353338204E697374503235362041542043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
09:03:58.368811 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (2): 0
09:03:58.369016 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.369506 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::sign_verif
09:03:58.371241 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) ec_keys::sign_verif: succeed
09:03:58.371831 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.372153 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:92(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.372284 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:100(testcase:tc_full_check_certificate_1) setverdict(pass): pass -> pass, component reason not changed
09:03:58.372474 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:101(testcase:tc_full_check_certificate_1) >>> fx__enc__CertificateBase: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := 'B72C8DC20C0B895D'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AT Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                        y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            },
            sSig := '50C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
        }
    }
}
09:03:58.372692 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:101(testcase:tc_full_check_certificate_1) >>> EtsiTs103097Codec_Certificate::encode: @IEEE1609dot2.CertificateBase
09:03:58.372914 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:101(testcase:tc_full_check_certificate_1) EtsiTs103097Codec_Certificate::encode: '80030080B72C8DC20C0B895D50811E535446353338204E697374503235362041542043657274696669636174650000000000010A8F1C86000A83010280000C8000220102800124810403830001800125810403830001808084778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC88084804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF750C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
09:03:58.373183 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:102(testcase:tc_full_check_certificate_1) AT keys: {
    version := 3,
    type_ := explicit (0),
    issuer := {
        sha256AndDigest := 'B72C8DC20C0B895D'O
    },
    toBeSigned := {
        id := {
            name := "STF538 NistP256 AT Certificate"
        },
        cracaId := '000000'O,
        crlSeries := 0,
        validityPeriod := {
            start_ := 17469212,
            duration := {
                years := 10
            }
        },
        region := {
            identifiedRegion := {
                {
                    countryOnly := 12
                },
                {
                    countryOnly := 34
                }
            }
        },
        assuranceLevel := omit,
        appPermissions := {
            {
                psid := 36,
                ssp := {
                    bitmapSsp := '830001'O
                }
            },
            {
                psid := 37,
                ssp := {
                    bitmapSsp := '830001'O
                }
            }
        },
        certIssuePermissions := omit,
        certRequestPermissions := omit,
        canRequestRollover := omit,
        encryptionKey := omit,
        verifyKeyIndicator := {
            verificationKey := {
                ecdsaNistP256 := {
                    uncompressedP256 := {
                        x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                        y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                    }
                }
            }
        }
    },
    signature_ := {
        ecdsaNistP256Signature := {
            rSig := {
                uncompressedP256 := {
                    x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                    y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                }
            },
            sSig := '50C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
        }
    }
}
09:03:58.373814 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:105(testcase:tc_full_check_certificate_1) tc_full_check_certificate_1: Final chain = {
    ca := {
        cert := {
            version := 3,
            type_ := explicit (0),
            issuer := {
                self_ := sha256 (0)
            },
            toBeSigned := {
                id := {
                    name := "STF538 NistP256 Root Certificate"
                },
                cracaId := '000000'O,
                crlSeries := 0,
                validityPeriod := {
                    start_ := 17469212,
                    duration := {
                        years := 10
                    }
                },
                region := omit,
                assuranceLevel := omit,
                appPermissions := {
                    {
                        psid := 36,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    },
                    {
                        psid := 37,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    }
                },
                certIssuePermissions := {
                    {
                        subjectPermissions := {
                            explicit := {
                                {
                                    psid := 1,
                                    sspRange := {
                                        all_ := NULL
                                    }
                                }
                            }
                        },
                        minChainLength := 1,
                        chainLengthRange := 0,
                        eeType := '00000000'B
                    }
                },
                certRequestPermissions := omit,
                canRequestRollover := omit,
                encryptionKey := omit,
                verifyKeyIndicator := {
                    verificationKey := {
                        ecdsaNistP256 := {
                            uncompressedP256 := {
                                x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                                y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                            }
                        }
                    }
                }
            },
            signature_ := {
                ecdsaNistP256Signature := {
                    rSig := {
                        uncompressedP256 := {
                            x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                            y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                        }
                    },
                    sSig := 'C4757BF29746FBA553EAEE5A79A00C6A3B45F62A6104DCEFF4ECDEA832A9F7C47F40836703F51CF635DF408741A92E5CCFB66A840C601AE0EEED832D38DB95CC'O
                }
            }
        },
        private_key := 'D22D278BE33B9E5659D5F531DE5B9A53E8912EE76B48242EC041667342DC9541'O,
        public_key_x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
        public_key_y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O,
        hashid8 := '7AE33C47E0C1EF90'O
    },
    aa := {
        cert := {
            version := 3,
            type_ := explicit (0),
            issuer := {
                sha256AndDigest := '7AE33C47E0C1EF90'O
            },
            toBeSigned := {
                id := {
                    name := "STF538 NistP256 AA Certificate"
                },
                cracaId := '000000'O,
                crlSeries := 0,
                validityPeriod := {
                    start_ := 17469212,
                    duration := {
                        years := 10
                    }
                },
                region := {
                    identifiedRegion := {
                        {
                            countryOnly := 12
                        },
                        {
                            countryOnly := 34
                        }
                    }
                },
                assuranceLevel := omit,
                appPermissions := {
                    {
                        psid := 36,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    },
                    {
                        psid := 37,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    }
                },
                certIssuePermissions := omit,
                certRequestPermissions := omit,
                canRequestRollover := omit,
                encryptionKey := omit,
                verifyKeyIndicator := {
                    verificationKey := {
                        ecdsaNistP256 := {
                            uncompressedP256 := {
                                x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                                y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                            }
                        }
                    }
                }
            },
            signature_ := {
                ecdsaNistP256Signature := {
                    rSig := {
                        uncompressedP256 := {
                            x := 'CF58BA68FD3FFA4C67C333C7FDA1433678CA3CF8B7864D77D44159313C4699CB'O,
                            y := 'A61262989BDC042ECA224586798CAF6FEB0E16C17F04027804674AD284432273'O
                        }
                    },
                    sSig := '9D6ECE19CEBE366268B420F4288EC7CBD8C275B0357F6BBB057ECBB9F35985F7154534E278336A0E76675A037A46B33CFA4951CDBAA9F41364DA4E8A4DDCEBEB'O
                }
            }
        },
        private_key := 'DB35514A5B97D01807D198B2EE083806B7B80BA1BE710AC28C5E122F051DC985'O,
        public_key_x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
        public_key_y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O,
        hashid8 := 'B72C8DC20C0B895D'O
    },
    at := {
        cert := {
            version := 3,
            type_ := explicit (0),
            issuer := {
                sha256AndDigest := 'B72C8DC20C0B895D'O
            },
            toBeSigned := {
                id := {
                    name := "STF538 NistP256 AT Certificate"
                },
                cracaId := '000000'O,
                crlSeries := 0,
                validityPeriod := {
                    start_ := 17469212,
                    duration := {
                        years := 10
                    }
                },
                region := {
                    identifiedRegion := {
                        {
                            countryOnly := 12
                        },
                        {
                            countryOnly := 34
                        }
                    }
                },
                assuranceLevel := omit,
                appPermissions := {
                    {
                        psid := 36,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    },
                    {
                        psid := 37,
                        ssp := {
                            bitmapSsp := '830001'O
                        }
                    }
                },
                certIssuePermissions := omit,
                certRequestPermissions := omit,
                canRequestRollover := omit,
                encryptionKey := omit,
                verifyKeyIndicator := {
                    verificationKey := {
                        ecdsaNistP256 := {
                            uncompressedP256 := {
                                x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
                                y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O
                            }
                        }
                    }
                }
            },
            signature_ := {
                ecdsaNistP256Signature := {
                    rSig := {
                        uncompressedP256 := {
                            x := '804ECD51522FB92F464C815CACE691FC4DDB157AB736116698BD1EB17B05DDC2'O,
                            y := 'C85FD7C0D28EB038F061599E91DC8CD432720E3844A5B223C08B7CE20D84FBF7'O
                        }
                    },
                    sSig := '50C6D53A1B14EC95DAAFB33C10597BA6A6CEF527FBF339D8FD9D03024ADD362AD88346C027E8CB55751592CCF6852AA2A6D1E5B78460B44C776E6A208472127F'O
                }
            }
        },
        private_key := '58887AE281046FC03AA8F78DF792EC64B6922D9633A87B32515599875321640D'O,
        public_key_x := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O,
        public_key_y := '665E7B08BBB6195BEABC169F4B21DDD0AD093D58764D1A9E9BCD9DADD2BB8AC8'O,
        hashid8 := 'DD2D89F4C9DE0436'O
    }
}
09:03:58.376073 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> fx__enc__GnNonSecuredPacket: {
    commonHeader := {
        nextHeader := e_any (0),
        reserved := 0,
        headerTST := {
            tsbHdr := {
                headerType := e_topologicallyScopedBroadcast (5),
                headerSubType := e_singleHop (0)
            }
        },
        trafficClass := {
            scf := e_scfEnable (1),
            channelOffload := e_choffDisabled (0),
            tcId := 0
        },
        flags := '00000000'B,
        plLength := 0,
        maxHopLimit := 10,
        reserved2 := 0
    },
    extendedHeader := {
        shbHeader := {
            srcPosVector := {
                gnAddr := {
                    typeOfAddress := e_manual (1),
                    stationType := e_roadSideUnit (15),
                    stationCountryCode := 33,
                    mid := 'A4FEDECABEEF'O
                },
                timestamp_ := 123456,
                latitude := 4856,
                longitude := 675,
                pai := '1'B,
                speed := 55,
                heading := 9876
            },
            reserved := 0
        }
    },
    payload := '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
}
09:03:58.376455 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode: {
    commonHeader := {
        nextHeader := e_any (0),
        reserved := 0,
        headerTST := {
            tsbHdr := {
                headerType := e_topologicallyScopedBroadcast (5),
                headerSubType := e_singleHop (0)
            }
        },
        trafficClass := {
            scf := e_scfEnable (1),
            channelOffload := e_choffDisabled (0),
            tcId := 0
        },
        flags := '00000000'B,
        plLength := 0,
        maxHopLimit := 10,
        reserved2 := 0
    },
    extendedHeader := {
        shbHeader := {
            srcPosVector := {
                gnAddr := {
                    typeOfAddress := e_manual (1),
                    stationType := e_roadSideUnit (15),
                    stationCountryCode := 33,
                    mid := 'A4FEDECABEEF'O
                },
                timestamp_ := 123456,
                latitude := 4856,
                longitude := 675,
                pai := '1'B,
                speed := 55,
                heading := 9876
            },
            reserved := 0
        }
    },
    payload := '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
}
09:03:58.376638 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket
09:03:58.376734 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    commonHeader := {
        nextHeader := e_any (0),
        reserved := 0,
        headerTST := {
            tsbHdr := {
                headerType := e_topologicallyScopedBroadcast (5),
                headerSubType := e_singleHop (0)
            }
        },
        trafficClass := {
            scf := e_scfEnable (1),
            channelOffload := e_choffDisabled (0),
            tcId := 0
        },
        flags := '00000000'B,
        plLength := 0,
        maxHopLimit := 10,
        reserved2 := 0
    },
    extendedHeader := {
        shbHeader := {
            srcPosVector := {
                gnAddr := {
                    typeOfAddress := e_manual (1),
                    stationType := e_roadSideUnit (15),
                    stationCountryCode := 33,
                    mid := 'A4FEDECABEEF'O
                },
                timestamp_ := 123456,
                latitude := 4856,
                longitude := 675,
                pai := '1'B,
                speed := 55,
                heading := 9876
            },
            reserved := 0
        }
    },
    payload := '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
}
09:03:58.376981 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket
09:03:58.377089 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing commonHeader/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.commonHeader/@LibItsGeoNetworking_TypesAndValues.CommonHeader - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.377178 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.CommonHeader/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.commonHeader
09:03:58.377259 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    nextHeader := e_any (0),
    reserved := 0,
    headerTST := {
        tsbHdr := {
            headerType := e_topologicallyScopedBroadcast (5),
            headerSubType := e_singleHop (0)
        }
    },
    trafficClass := {
        scf := e_scfEnable (1),
        channelOffload := e_choffDisabled (0),
        tcId := 0
    },
    flags := '00000000'B,
    plLength := 0,
    maxHopLimit := 10,
    reserved2 := 0
}
09:03:58.377541 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.CommonHeader
09:03:58.377708 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing nextHeader/@LibItsGeoNetworking_TypesAndValues.CommonHeader.nextHeader/@LibItsGeoNetworking_TypesAndValues.NextHeader - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.377909 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.NextHeader/@LibItsGeoNetworking_TypesAndValues.CommonHeader.nextHeader
09:03:58.378068 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: e_any (0)
09:03:58.378182 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.NextHeader/@LibItsGeoNetworking_TypesAndValues.CommonHeader.nextHeader
09:03:58.378350 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: Storing next_header 0 for @LibItsGeoNetworking_TypesAndValues.CommonHeader.nextHeader
09:03:58.378463 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 1 data: ( | 00)
09:03:58.378623 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing reserved/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.378733 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved
09:03:58.378887 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 0
09:03:58.379017 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved
09:03:58.379175 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 1 data: ( | 00)
09:03:58.379289 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing headerTST/@LibItsGeoNetworking_TypesAndValues.CommonHeader.headerTST/@LibItsGeoNetworking_TypesAndValues.HeaderTST - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.379476 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.HeaderTST/@LibItsGeoNetworking_TypesAndValues.CommonHeader.headerTST
09:03:58.379592 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    tsbHdr := {
        headerType := e_topologicallyScopedBroadcast (5),
        headerSubType := e_singleHop (0)
    }
}
09:03:58.379762 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.HeaderTST/@LibItsGeoNetworking_TypesAndValues.CommonHeader.headerTST
09:03:58.379881 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 2 data: ( | 0050)
09:03:58.380636 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing trafficClass/@LibItsGeoNetworking_TypesAndValues.CommonHeader.trafficClass/@LibItsGeoNetworking_TypesAndValues.TrafficClass - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.380805 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.TrafficClass/@LibItsGeoNetworking_TypesAndValues.CommonHeader.trafficClass
09:03:58.381058 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    scf := e_scfEnable (1),
    channelOffload := e_choffDisabled (0),
    tcId := 0
}
09:03:58.381218 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.TrafficClass
09:03:58.381414 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing scf/@LibItsGeoNetworking_TypesAndValues.TrafficClass.scf/@LibItsGeoNetworking_TypesAndValues.SCF - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.381563 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.SCF/@LibItsGeoNetworking_TypesAndValues.TrafficClass.scf
09:03:58.381778 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: e_scfEnable (1)
09:03:58.381904 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.SCF/@LibItsGeoNetworking_TypesAndValues.TrafficClass.scf
09:03:58.382131 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 3 data: ( | 005080)
09:03:58.382267 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing channelOffload/@LibItsGeoNetworking_TypesAndValues.TrafficClass.channelOffload/@LibItsGeoNetworking_TypesAndValues.ChannelOffload - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.382442 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.ChannelOffload/@LibItsGeoNetworking_TypesAndValues.TrafficClass.channelOffload
09:03:58.382556 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: e_choffDisabled (0)
09:03:58.382720 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.ChannelOffload/@LibItsGeoNetworking_TypesAndValues.TrafficClass.channelOffload
09:03:58.382830 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 3 data: ( | 005080)
09:03:58.383001 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing tcId/@LibItsGeoNetworking_TypesAndValues.TrafficClass.tcId/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.383106 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.TrafficClass.tcId
09:03:58.383269 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 0
09:03:58.383379 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.TrafficClass.tcId
09:03:58.383565 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 3 data: ( | 005080)
09:03:58.383684 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 3 data: ( | 005080)
09:03:58.383858 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing flags/@LibItsGeoNetworking_TypesAndValues.CommonHeader.flags/BIT STRING - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.383987 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing BIT STRING/@LibItsGeoNetworking_TypesAndValues.CommonHeader.flags
09:03:58.384160 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: '00000000'B
09:03:58.384274 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type BIT STRING/@LibItsGeoNetworking_TypesAndValues.CommonHeader.flags
09:03:58.384443 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 4 data: ( | 00508000)
09:03:58.384550 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing plLength/@LibItsGeoNetworking_TypesAndValues.CommonHeader.plLength/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.384709 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.plLength
09:03:58.384825 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 0
09:03:58.387514 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.plLength
09:03:58.387622 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: Storing position 4 for @LibItsGeoNetworking_TypesAndValues.CommonHeader.plLength
09:03:58.387660 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 6 data: ( | 005080000000)
09:03:58.387694 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing maxHopLimit/@LibItsGeoNetworking_TypesAndValues.CommonHeader.maxHopLimit/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.387723 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.maxHopLimit
09:03:58.387760 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 10
09:03:58.387788 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.maxHopLimit
09:03:58.387817 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 7 data: ( | 0050800000000A)
09:03:58.387845 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing reserved2/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved2/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.387871 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved2
09:03:58.387895 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 0
09:03:58.387945 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.CommonHeader.reserved2
09:03:58.387986 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 8 data: ( | 0050800000000A00)
09:03:58.388015 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 8 data: ( | 0050800000000A00)
09:03:58.388042 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing extendedHeader/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.extendedHeader/@LibItsGeoNetworking_TypesAndValues.ExtendedHeader - 1 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388072 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.ExtendedHeader/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.extendedHeader
09:03:58.388098 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    shbHeader := {
        srcPosVector := {
            gnAddr := {
                typeOfAddress := e_manual (1),
                stationType := e_roadSideUnit (15),
                stationCountryCode := 33,
                mid := 'A4FEDECABEEF'O
            },
            timestamp_ := 123456,
            latitude := 4856,
            longitude := 675,
            pai := '1'B,
            speed := 55,
            heading := 9876
        },
        reserved := 0
    }
}
09:03:58.388152 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: ExtendedHeader present: 1
09:03:58.388180 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_extendedHeader: processing @LibItsGeoNetworking_TypesAndValues.ExtendedHeader
09:03:58.388206 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_extendedHeader: processing type @LibItsGeoNetworking_TypesAndValues.SHBHeader
09:03:58.388231 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.SHBHeader/@LibItsGeoNetworking_TypesAndValues.SHBHeader
09:03:58.388256 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    srcPosVector := {
        gnAddr := {
            typeOfAddress := e_manual (1),
            stationType := e_roadSideUnit (15),
            stationCountryCode := 33,
            mid := 'A4FEDECABEEF'O
        },
        timestamp_ := 123456,
        latitude := 4856,
        longitude := 675,
        pai := '1'B,
        speed := 55,
        heading := 9876
    },
    reserved := 0
}
09:03:58.388292 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.SHBHeader
09:03:58.388318 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing srcPosVector/@LibItsGeoNetworking_TypesAndValues.SHBHeader.srcPosVector/@LibItsGeoNetworking_TypesAndValues.LongPosVector - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388344 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.LongPosVector/@LibItsGeoNetworking_TypesAndValues.SHBHeader.srcPosVector
09:03:58.388369 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    gnAddr := {
        typeOfAddress := e_manual (1),
        stationType := e_roadSideUnit (15),
        stationCountryCode := 33,
        mid := 'A4FEDECABEEF'O
    },
    timestamp_ := 123456,
    latitude := 4856,
    longitude := 675,
    pai := '1'B,
    speed := 55,
    heading := 9876
}
09:03:58.388403 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.LongPosVector
09:03:58.388447 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing gnAddr/@LibItsGeoNetworking_TypesAndValues.LongPosVector.gnAddr/@LibItsGeoNetworking_TypesAndValues.GN_Address - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388482 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.GN_Address/@LibItsGeoNetworking_TypesAndValues.LongPosVector.gnAddr
09:03:58.388507 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: {
    typeOfAddress := e_manual (1),
    stationType := e_roadSideUnit (15),
    stationCountryCode := 33,
    mid := 'A4FEDECABEEF'O
}
09:03:58.388536 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing Record_Type @LibItsGeoNetworking_TypesAndValues.GN_Address
09:03:58.388561 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing typeOfAddress/@LibItsGeoNetworking_TypesAndValues.GN_Address.typeOfAddress/@LibItsGeoNetworking_TypesAndValues.TypeOfAddress - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388586 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.TypeOfAddress/@LibItsGeoNetworking_TypesAndValues.GN_Address.typeOfAddress
09:03:58.388610 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: e_manual (1)
09:03:58.388637 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.TypeOfAddress/@LibItsGeoNetworking_TypesAndValues.GN_Address.typeOfAddress
09:03:58.388665 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 9 data: ( | 0050800000000A0080)
09:03:58.388692 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing stationType/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationType/@LibItsGeoNetworking_TypesAndValues.StationType - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388718 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing @LibItsGeoNetworking_TypesAndValues.StationType/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationType
09:03:58.388741 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: e_roadSideUnit (15)
09:03:58.388766 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type @LibItsGeoNetworking_TypesAndValues.StationType/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationType
09:03:58.388798 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 9 data: ( | 0050800000000A00BC)
09:03:58.388824 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing stationCountryCode/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationCountryCode/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.388850 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationCountryCode
09:03:58.388874 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 33
09:03:58.388898 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.GN_Address.stationCountryCode
09:03:58.388943 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 10 data: ( | 0050800000000A00BC21)
09:03:58.388974 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing mid/@LibItsGeoNetworking_TypesAndValues.GN_Address.mid/OCTET STRING - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389000 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing OCTET STRING/@LibItsGeoNetworking_TypesAndValues.GN_Address.mid
09:03:58.389024 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 'A4FEDECABEEF'O
09:03:58.389050 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type OCTET STRING/@LibItsGeoNetworking_TypesAndValues.GN_Address.mid
09:03:58.389077 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 16 data: ( | 0050800000000A00BC21A4FEDECABEEF)
09:03:58.389105 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 16 data: ( | 0050800000000A00BC21A4FEDECABEEF)
09:03:58.389135 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing timestamp_/@LibItsGeoNetworking_TypesAndValues.LongPosVector.timestamp_/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389161 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.timestamp_
09:03:58.389185 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 123456
09:03:58.389210 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.timestamp_
09:03:58.389237 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 20 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240)
09:03:58.389264 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing latitude/@LibItsGeoNetworking_TypesAndValues.LongPosVector.latitude/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389289 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.latitude
09:03:58.389313 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 4856
09:03:58.389337 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.latitude
09:03:58.389363 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 24 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8)
09:03:58.389391 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing longitude/@LibItsGeoNetworking_TypesAndValues.LongPosVector.longitude/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389416 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.longitude
09:03:58.389459 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 675
09:03:58.389489 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.longitude
09:03:58.389516 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 28 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A3)
09:03:58.389545 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing pai/@LibItsGeoNetworking_TypesAndValues.LongPosVector.pai/BIT STRING - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389570 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing BIT STRING/@LibItsGeoNetworking_TypesAndValues.LongPosVector.pai
09:03:58.389594 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: '1'B
09:03:58.389618 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type BIT STRING/@LibItsGeoNetworking_TypesAndValues.LongPosVector.pai
09:03:58.389645 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 29 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A380)
09:03:58.389673 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing speed/@LibItsGeoNetworking_TypesAndValues.LongPosVector.speed/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389698 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.speed
09:03:58.389721 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 55
09:03:58.389746 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.speed
09:03:58.389772 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 30 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A38037)
09:03:58.389810 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing heading/@LibItsGeoNetworking_TypesAndValues.LongPosVector.heading/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.389836 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.heading
09:03:58.389859 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 9876
09:03:58.389883 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.LongPosVector.heading
09:03:58.389910 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 32 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A380372694)
09:03:58.389979 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 32 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A380372694)
09:03:58.390009 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing reserved/@LibItsGeoNetworking_TypesAndValues.SHBHeader.reserved/INTEGER - 0 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.390034 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing INTEGER/@LibItsGeoNetworking_TypesAndValues.SHBHeader.reserved
09:03:58.390058 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: 0
09:03:58.390083 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type INTEGER/@LibItsGeoNetworking_TypesAndValues.SHBHeader.reserved
09:03:58.390109 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 36 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A38037269400000000)
09:03:58.390138 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 36 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A38037269400000000)
09:03:58.390166 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 36 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A38037269400000000)
09:03:58.390199 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: processing payload/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.payload/OCTET STRING - 1 (1 ==> use dynamic_cast<const OPTIONAL<...>) - 1
09:03:58.390225 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing OCTET STRING/@LibItsGeoNetworking_TypesAndValues.GnNonSecuredPacket.payload
09:03:58.390249 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
09:03:58.390282 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: GnRawPayload present: 1
09:03:58.390307 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: processing OCTET STRING/OCTET STRING
09:03:58.390331 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) >>> GeoNetworkingCodec::encode_: '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
09:03:58.390359 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_ (else): processing type OCTET STRING/OCTET STRING
09:03:58.390385 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 51 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144)
09:03:58.390417 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode_: Storing payload length 15 for OCTET STRING
09:03:58.391061 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 51 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144)
09:03:58.391269 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<<GeoNetworkingCodec::encode_: encoding_buffer=Buffer: size: 1024, pos: 0, len: 51 data: ( | 0050800000000A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144)
09:03:58.391533 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode: length=51 - plLength_position = 4 - plLength = 15
09:03:58.391643 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode: rpl='000F'O
09:03:58.391762 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) GeoNetworkingCodec::encode: after replace: '00508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144'O
09:03:58.391861 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:647(function:f_build_and_sign_secured_message_nistP256_1) <<< GeoNetworkingCodec::encode: data='00508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144'O
09:03:58.392051 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:659(function:f_build_and_sign_secured_message_nistP256_1) >>> fx__enc__Ieee1609Dot2ToBeSignedData: {
    payload := {
        data := {
            protocolVersion := 3,
            content := {
                unsecuredData := '00508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144'O
            }
        },
        extDataHash := omit
    },
    headerInfo := {
        psid := 141,
        generationTime := 12345,
        expiryTime := 123456,
        generationLocation := omit,
        p2pcdLearningRequest := omit,
        missingCrlIdentifier := omit,
        encryptionKey := omit,
        inlineP2pcdRequest := omit,
        requestedCertificate := omit
    }
}
09:03:58.392530 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:659(function:f_build_and_sign_secured_message_nistP256_1) >>> EtsiTs103097Codec_ToBeSignedData::encode: @IEEE1609dot2.ToBeSignedData
09:03:58.393211 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:659(function:f_build_and_sign_secured_message_nistP256_1) EtsiTs103097Codec_ToBeSignedData::encode: '4003803300508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F41446002008D0000000000003039000000000001E240'O
09:03:58.393993 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (1): 0
09:03:58.394309 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.394587 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::sign
09:03:58.394804 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: succeed
09:03:58.395076 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: r= f5 ef 2f 88 7e 65 e4 06 69 34 21 fd 1d 9a d6 7c 1b dc 1a 38 23 74 59 b3 42 19 bb 6e b8 55 7f de

09:03:58.395275 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) ec_keys::sign: s= c6 00 72 c8 41 1c 3f 6e 9e b5 25 4e 0e f8 a7 a5 4f f2 2c 63 1e 1e d9 a5 1c 9b 5e 5d fb 56 78 f3

09:03:58.395394 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.396531 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:660(function:f_build_and_sign_secured_message_nistP256_1)->../ttcn/LibItsSecurity_Functions.ttcn:66(function:f_signWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.397027 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:125(testcase:tc_full_check_certificate_1)->../ttcn/TestCodec_ChainOfCertificates.ttcn:677(function:f_build_and_sign_secured_message_nistP256_1) f_build_and_sign_secured_message_nistP256_1: v_secured_data = {
    protocolVersion := 3,
    content := {
        signedData := {
            hashId := sha256 (0),
            tbsData := {
                payload := {
                    data := {
                        protocolVersion := 3,
                        content := {
                            unsecuredData := '00508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144'O
                        }
                    },
                    extDataHash := omit
                },
                headerInfo := {
                    psid := 141,
                    generationTime := 12345,
                    expiryTime := 123456,
                    generationLocation := omit,
                    p2pcdLearningRequest := omit,
                    missingCrlIdentifier := omit,
                    encryptionKey := omit,
                    inlineP2pcdRequest := omit,
                    requestedCertificate := omit
                }
            },
            signer := {
                digest := 'DD2D89F4C9DE0436'O
            },
            signature_ := {
                ecdsaNistP256Signature := {
                    rSig := {
                        x_only := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O
                    },
                    sSig := 'F5EF2F887E65E406693421FD1D9AD67C1BDC1A38237459B34219BB6EB8557FDEC60072C8411C3F6E9EB5254E0EF8A7A54FF22C631E1ED9A51C9B5E5DFB5678F3'O
                }
            }
        }
    }
}
09:03:58.397736 mtc USER ../ttcn/TestCodec_ChainOfCertificates.ttcn:129(testcase:tc_full_check_certificate_1) tc_full_check_certificate_1: Final GeoNetworking secured message: {
    basicHeader := {
        version := 0,
        nextHeader := e_securedPacket (2),
        reserved := 0,
        lifeTime := {
            multiplier := 10,
            ltBase := e_100s (3)
        },
        routerHopLimit := 10
    },
    gnPacket := {
        packet := {
            commonHeader := {
                nextHeader := e_any (0),
                reserved := 0,
                headerTST := {
                    tsbHdr := {
                        headerType := e_topologicallyScopedBroadcast (5),
                        headerSubType := e_singleHop (0)
                    }
                },
                trafficClass := {
                    scf := e_scfEnable (1),
                    channelOffload := e_choffDisabled (0),
                    tcId := 0
                },
                flags := '00000000'B,
                plLength := 0,
                maxHopLimit := 10,
                reserved2 := 0
            },
            extendedHeader := {
                shbHeader := {
                    srcPosVector := {
                        gnAddr := {
                            typeOfAddress := e_manual (1),
                            stationType := e_roadSideUnit (15),
                            stationCountryCode := 33,
                            mid := 'A4FEDECABEEF'O
                        },
                        timestamp_ := 123456,
                        latitude := 4856,
                        longitude := 675,
                        pai := '1'B,
                        speed := 55,
                        heading := 9876
                    },
                    reserved := 0
                }
            },
            payload := '44454641554C545F5041594C4F4144'O ("DEFAULT_PAYLOAD")
        },
        securedMsg := {
            protocolVersion := 3,
            content := {
                signedData := {
                    hashId := sha256 (0),
                    tbsData := {
                        payload := {
                            data := {
                                protocolVersion := 3,
                                content := {
                                    unsecuredData := '00508000000F0A00BC21A4FEDECABEEF0001E240000012F8000002A3803726940000000044454641554C545F5041594C4F4144'O
                                }
                            },
                            extDataHash := omit
                        },
                        headerInfo := {
                            psid := 141,
                            generationTime := 12345,
                            expiryTime := 123456,
                            generationLocation := omit,
                            p2pcdLearningRequest := omit,
                            missingCrlIdentifier := omit,
                            encryptionKey := omit,
                            inlineP2pcdRequest := omit,
                            requestedCertificate := omit
                        }
                    },
                    signer := {
                        digest := 'DD2D89F4C9DE0436'O
                    },
                    signature_ := {
                        ecdsaNistP256Signature := {
                            rSig := {
                                x_only := '778176B2068C42EC4815DF780A428627061DC14E02F4DD249738A940B130836F'O
                            },
                            sSig := 'F5EF2F887E65E406693421FD1D9AD67C1BDC1A38237459B34219BB6EB8557FDEC60072C8411C3F6E9EB5254E0EF8A7A54FF22C631E1ED9A51C9B5E5DFB5678F3'O
                        }
                    }
                }
            }
        }
    }
}
09:03:58.398534 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::ec_keys (2): 0
09:03:58.398680 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::init: 0
09:03:58.399028 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::sign_verif
09:03:58.399427 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) ec_keys::sign_verif: failed
09:03:58.399579 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) >>> ec_keys::~ec_keys
09:03:58.399702 mtc DEBUG ../ttcn/TestCodec_ChainOfCertificates.ttcn:131(testcase:tc_full_check_certificate_1)->../ttcn/LibItsSecurity_Functions.ttcn:148(function:f_verifyWithEcdsaNistp256WithSha256) <<< ec_keys::~ec_keys
09:03:58.399894 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) setverdict(fail): pass -> fail
09:03:58.400108 mtc PARALLEL ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Terminating component type TestCodec_TestAndSystem.TCType.
09:03:58.400325 mtc PARALLEL ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Component type TestCodec_TestAndSystem.TCType was shut down inside testcase tc_full_check_certificate_1.
09:03:58.401197 mtc EXECUTOR ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Waiting for PTCs to finish.
09:03:58.402188 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Setting final verdict of the test case.
09:03:58.402573 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Local verdict of MTC: fail
09:03:58.402814 mtc VERDICTOP ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) No PTCs were created.
09:03:58.403242 mtc TESTCASE ../ttcn/TestCodec_ChainOfCertificates.ttcn:137(testcase:tc_full_check_certificate_1) Test case tc_full_check_certificate_1 finished. Verdict: fail
09:03:58.403895 mtc STATISTICS - Verdict statistics: 0 none (0.00 %), 0 pass (0.00 %), 0 inconc (0.00 %), 1 fail (100.00 %), 0 error (0.00 %).
09:03:58.404183 mtc STATISTICS - Test execution summary: 1 test case was executed. Overall verdict: fail
09:03:58.404375 mtc EXECUTOR - Exit was requested from MC. Terminating MTC.
09:03:58.404741 hc EXECUTOR - Exit was requested from MC. Terminating HC.
09:03:58.404830 hc EXECUTOR - Disconnected from MC.
09:03:58.404878 hc EXECUTOR - TTCN-3 Host Controller finished.
******************************************************/
