Loading ttcn/Security/LibItsSecurity_Functions.ttcn3 +1 −12 Original line number Original line Diff line number Diff line Loading @@ -567,22 +567,11 @@ module LibItsSecurity_Functions { var octetstring v_signature; var octetstring v_signature; var boolean v_result := false; var boolean v_result := false; var template (value) ToBeSignedCertificate v_toBeSignedCertificate; var template (value) ToBeSignedCertificate v_toBeSignedCertificate; // // var ToBeSignedCertificate v_at; // var integer v_res; // var boolean v_match; // Create Certificate payload to be verified // Create Certificate payload to be verified v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified); v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified); toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate)); toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate)); // v_res := decvalue(oct2bit(toBeVerifiedData), v_at); // if (v_res != 0) { // setverdict(fail, "Decoding failed."); // stop; // } // v_match := match(v_toBeSignedCertificate, v_at); // Build the signature // Build the signature v_signature := v_signature := '0000'O & '0000'O & Loading Loading
ttcn/Security/LibItsSecurity_Functions.ttcn3 +1 −12 Original line number Original line Diff line number Diff line Loading @@ -567,22 +567,11 @@ module LibItsSecurity_Functions { var octetstring v_signature; var octetstring v_signature; var boolean v_result := false; var boolean v_result := false; var template (value) ToBeSignedCertificate v_toBeSignedCertificate; var template (value) ToBeSignedCertificate v_toBeSignedCertificate; // // var ToBeSignedCertificate v_at; // var integer v_res; // var boolean v_match; // Create Certificate payload to be verified // Create Certificate payload to be verified v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified); v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified); toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate)); toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate)); // v_res := decvalue(oct2bit(toBeVerifiedData), v_at); // if (v_res != 0) { // setverdict(fail, "Decoding failed."); // stop; // } // v_match := match(v_toBeSignedCertificate, v_at); // Build the signature // Build the signature v_signature := v_signature := '0000'O & '0000'O & Loading