TP_SEC_ITSS_RCV_CAM_01_02_BV.json 3.24 KB
Newer Older
1
2
{
    "attributes": {
filatov's avatar
filatov committed
3
4
5
6
7
8
9
        "NOTE": {
            "isGenerated": false,
            "key": "NOTE",
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
            "type": "STRING",
            "value": "The message defined in this test purpose is used in the subsequent test purposes with the snippet name \u2018MSG_SEC_RCV_CAM_02\u2019. Only differences to this snippet are mentioned in subsequent test purposes."
        },
10
        "_author": {
11
            "isGenerated": false,
12
            "key": "_author",
13
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
14
15
16
17
            "type": "STRING",
            "value": "filatov"
        },
        "_description": {
18
            "isGenerated": false,
19
            "key": "_description",
20
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
21
22
23
24
            "type": "STRING",
            "value": "Check that IUT accepts a well-formed Secured CAM containing certificate digest of the known certificate in signer_info"
        },
        "_expectedResults": {
25
            "isGenerated": false,
26
            "key": "_expectedResults",
27
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
28
            "type": "STRING",
filatov's avatar
filatov committed
29
            "value": "with {\r\n\tthe IUT being in the 'authorized' state\r\n\tthe IUT already received a Secured message containing certificate (CERT_TS_AT_A)\r\n\t\tcontaining subject_info.subject_type\r\n\t\t\tindicating 'authorization_ticket'\r\n\t\tand containing subject_attributes['verification key'] (KEY)\r\n}\r\nensure that {\r\n\twhen { \r\n\t\tthe IUT is receiving a SecuredMessage\r\n\t\t\tcontaining protocol_version \r\n\t\t\t\tindicating value '2'\r\n\t\t\tand containing header_fields[0]\r\n\t\t\t\tcontaining type \r\n\t\t\t\t\tindicating 'signer_info'\r\n\t\t\t\tand containing signer\r\n\t\t\t\t\tcontaining type\r\n\t\t\t\t\t\tindicating 'certificate_digest_with_sha256'\r\n\t\t\t\t\tand containing digest\r\n\t\t\t\t\t\treferencing to certificate (CERT_TS_AT_A)\r\n\t\t\tand containing header_fields [1]\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'generation_time'\r\n\t\t\t\tand containing generation_time\r\n\t\t\t\t\tindicating CURRENT_TIME\r\n\t\t\tand containing header_fields[2]\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'its_aid'\r\n\t\t\t\tand containing its_aid\r\n\t\t\t\t\tindicating 'AID_CAM'\r\n\t\t\tand containing payload_field\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'signed'\r\n\t\t\t\tand containing data\r\n\t\t\t\t\tindicating length > 0\r\n\t\t\t\t\tcontaining CAM payload\r\n\t\t\tand containing trailer_fields\r\n\t\t\t\tcontaining trailer_fields[0]\r\n\t\t\t\t\tcontaining type\r\n\t\t\t\t\t\tindicating 'signature'\r\n\t\t\t\t\tcontaining signature\r\n\t\t\t\t\t\tverifiable using KEY\r\n\t} then {\r\n\t\tthe IUT accepts the message\r\n\t}\r\n}"
30
31
        },
        "_status": {
32
            "isGenerated": false,
33
            "key": "_status",
34
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
35
            "type": "STRING",
36
            "value": "verified"
37
38
        },
        "_type": {
39
            "isGenerated": false,
40
            "key": "_type",
41
            "origin": "ac77bf19-5e6f-4c6a-808f-a6724433e87b",
42
43
44
45
46
47
            "type": "STRING",
            "value": "TestPurpose"
        }
    },
    "uuid": "ac77bf19-5e6f-4c6a-808f-a6724433e87b"
}