fix #0007394 Add TP to check for invalid signature algorithms
I have not found where is the limitation of PublicKeyAlgorythm to be used for signature. The only restriction for values 240..255 has been found at clause 4.2.2.
So implemented partially.
"value":"Values to be provided as X_RESERVED_PK_ALGORYTHM are: 240, 255"
},
"_author":{
"isGenerated":false,
"key":"_author",
"origin":"c4b66a9a-d2f0-40f3-b88d-0bce48f24616",
"type":"STRING",
"value":"filatov"
},
"_description":{
"isGenerated":false,
"key":"_description",
"origin":"79586cc3-7220-499b-9ddb-96201f46ba7a",
"type":"STRING",
"value":"Check that IUT discards the Secured DENM if the message contains trailer field of type 'signature' with reserved public key algorythms"
},
"_expectedResults":{
"isGenerated":false,
"key":"_expectedResults",
"origin":"79586cc3-7220-499b-9ddb-96201f46ba7a",
"type":"STRING",
"value":"with\r\n\tthe IUT being in the 'authorized' state\r\n\tand the IUT current time is inside the time validity period of CERT_TS_A_AT\r\nensure that\r\n\twhen\r\n\t\tthe IUT is receiving a SecuredMessage (MSG_SEC_RCV_DENM_A)\r\n\t\t\tcontaining trailer_fields\r\n\t\t\t\tcontaining an instance of type TrailerField\r\n\t\t\t\t\tcontaining type\r\n\t\t\t\t\t\tindicating 'signature'\r\n\t\t\t\t\tand containing signature.algorithm\r\n\t\t\t\t\t\tindicating X_RESERVED_PK_ALGORYTHM\r\n\tthen\r\n\t\tthe IUT discards the message"
"value":"Values to be provided as X_RESERVED_PK_ALGORYTHM are: 240, 255"
},
"_author":{
"isGenerated":false,
"key":"_author",
"origin":"79586cc3-7220-499b-9ddb-96201f46ba7a",
"type":"STRING",
"value":"filatov"
},
"_description":{
"isGenerated":false,
"key":"_description",
"origin":"113b1538-f03c-4238-bb87-9bae85287be1",
"type":"STRING",
"value":"Check that IUT discards the Secured Message if the message contains trailer field of type 'signature' with reserved public key algorythms"
},
"_expectedResults":{
"isGenerated":false,
"key":"_expectedResults",
"origin":"113b1538-f03c-4238-bb87-9bae85287be1",
"type":"STRING",
"value":"with\r\n\tthe IUT being in the 'authorized' state\r\n\tand the IUT current time is inside the time validity period of CERT_TS_A_AT\r\nensure that\r\n\twhen\r\n\t\tthe IUT is receiving a SecuredMessage (MSG_SEC_RCV_GENMSG_A)\r\n\t\t\tcontaining trailer_fields\r\n\t\t\t\tcontaining an instance of type TrailerField\r\n\t\t\t\t\tcontaining type\r\n\t\t\t\t\t\tindicating 'signature'\r\n\t\t\t\t\tand containing signature.algorithm\r\n\t\t\t\t\t\tindicating X_RESERVED_PK_ALGORYTHM\r\n\tthen\r\n\t\tthe IUT discards the message"