Commit 779353e1 authored by filatov's avatar filatov
Browse files

AT certificates tests

parent 42114330
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
            "key": "_name",
            "origin": "0be535c7-1e1c-4526-a028-d747fe92b451",
            "type": "STRING",
            "value": "01. Check subject type"
            "value": "01. Check AT certificate subject type"
        },
        "_transferStatus": {
            "isGenerated": false,
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
            "key": "_expectedResults",
            "origin": "09061741-2bf6-48bf-95f7-517be1f6d5e4",
            "type": "STRING",
            "value": "with {\r\n\tthe IUT being in the 'authorized' state\r\n\tthe IUT being requested to include certificate in the next CAM\r\n} ensure that {\r\n\t when {\r\n\t\tthe IUT is requested to send a CAM\r\n\t} then {\r\n\t\tthe IUT sends a SecuredMessage\r\n\t\t\tcontaining header_fields['signer_info'].signer {\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'certificate'\r\n\t\t\t\tcontaining certificate {\r\n\t\t\t\t\tcontaining subject_info.subject_type\r\n\t\t\t\t\t\tindicating 'authorization_ticket' (1)\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t}\r\n}"
            "value": "with {\r\n\tthe IUT being in the 'authorized' state\r\n\tthe IUT being requested to include certificate in the next CAM\r\n} ensure that {\r\n\t when {\r\n\t\tthe IUT is requested to send a CAM\r\n\t} then {\r\n\t\tthe IUT sends a SecuredMessage\r\n\t\t\tcontaining header_fields['signer_info'].signer\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'certificate'\r\n\t\t\t\tand containing certificate\r\n\t\t\t\t\tcontaining subject_info.subject_type\r\n\t\t\t\t\t\tindicating 'authorization_ticket'\r\n\t}\r\n}"
        },
        "_status": {
            "isGenerated": false,
+8 −19
Original line number Diff line number Diff line
{
    "attributes": {
        "_description": {
            "isGenerated": false,
            "key": "_description",
            "origin": "ab23c31e-b442-455f-8874-89544de9a00b",
            "type": "STRING",
            "value": "If ITS-S sends an AT certificate check that the signer_info contains only one element of type certificate_digest_with_ecdsa256"
        },
        "_locations": {
            "elements_type": "STRING",
            "isGenerated": false,
            "key": "_locations",
            "origin": "ab23c31e-b442-455f-8874-89544de9a00b",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "LIST",
            "value": [
                "/Documents/Draft_ETSI_TS_103 097 v1.1.14.xhtml/a2e3634b-2d0b-4e80-8806-c75803dfa0ac",
                "/Documents/Draft_ETSI_TS_103 097 v1.1.14.xhtml/7a039646-e915-41da-b597-f99f5c9a6c2b",
                "/Documents/Draft_ETSI_TS_103 097 v1.1.14.xhtml/f19898f9-af2d-47ac-82cf-a71538b2e280",
                "/Documents/ts_103097v010201p.xhtml/1c90e08e-4c4e-4721-ab6e-8390fd8fd3c3",
                "/Documents/ts_103097v010201p.xhtml/c223fe50-65bf-48d8-970d-3bd4538c8e94",
                "/Documents/ts_103097v010201p.xhtml/076915cc-c9b3-460d-8ba4-388037396737"
                "/Documents/Draft_ETSI_TS_103 097 v1.1.14.xhtml/129932b3-d851-4f39-af43-ccec6d18c13b",
                "/Documents/ts_103097v010201p.xhtml/e9618613-82ad-42fa-88b3-2f6924c0165c"
            ]
        },
        "_name": {
            "isGenerated": false,
            "key": "_name",
            "origin": "ab23c31e-b442-455f-8874-89544de9a00b",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "02. Check that signer info is a digest"
            "value": "02. Check AT certificate subject name"
        },
        "_transferStatus": {
            "isGenerated": false,
            "key": "_transferStatus",
            "origin": "ab23c31e-b442-455f-8874-89544de9a00b",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "INCOMPLETE"
        },
        "_type": {
            "isGenerated": false,
            "key": "_type",
            "origin": "ab23c31e-b442-455f-8874-89544de9a00b",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "Requirement"
        }
    },
    "uuid": "ab23c31e-b442-455f-8874-89544de9a00b"
    "uuid": "8a72a3c8-625f-4d64-a60c-a31bb4d07934"
}
 No newline at end of file
+8 −8
Original line number Diff line number Diff line
@@ -3,38 +3,38 @@
        "_author": {
            "isGenerated": false,
            "key": "_author",
            "origin": "d72b7a15-20e8-40a0-8885-3b2165b97457",
            "origin": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd",
            "type": "STRING",
            "value": "filatov"
        },
        "_description": {
            "isGenerated": false,
            "key": "_description",
            "origin": "d72b7a15-20e8-40a0-8885-3b2165b97457",
            "origin": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd",
            "type": "STRING",
            "value": "Check that signer info of the AT certificate is a digest\r\n"
            "value": "Check that the subject_name variable-length vector is empty for AT certificates\r\n"
        },
        "_expectedResults": {
            "isGenerated": false,
            "key": "_expectedResults",
            "origin": "d72b7a15-20e8-40a0-8885-3b2165b97457",
            "origin": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd",
            "type": "STRING",
            "value": "with {\r\n\tthe IUT being in the 'authorized' state\r\n\tthe IUT being requested to include certificate in the next CAM\r\n} ensure that {\r\n\t when {\r\n\t\tthe IUT is requested to send a CAM\r\n\t} then {\r\n\t\tthe IUT sends a SecuredMessage\r\n\t\t\tcontaining header_fields['signer_info'].signer\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'certificate'\r\n\t\t\t\tand containing certificate\r\n\t\t\t\t\tcontaining signer_info\r\n\t\t\t\t\t\tcontaining type\r\n\t\t\t\t\t\t\tindicating 'certificate_digest_with_sha256'\r\n\t\t\t\t\t\tand containing digest\r\n\t}\r\n}"
            "value": "with {\r\n\tthe IUT being in the 'authorized' state\r\n\tthe IUT being requested to include certificate in the next CAM\r\n} ensure that {\r\n\t when {\r\n\t\tthe IUT is requested to send a CAM\r\n\t} then {\r\n\t\tthe IUT sends a SecuredMessage\r\n\t\t\tcontaining header_fields['signer_info'].signer\r\n\t\t\t\tcontaining type\r\n\t\t\t\t\tindicating 'certificate'\r\n\t\t\t\tand containing certificate\r\n\t\t\t\t\tcontaining subject_info.subject_name\r\n\t\t\t\t\t\tindicating length = 0\r\n\t}\r\n}"
        },
        "_status": {
            "isGenerated": false,
            "key": "_status",
            "origin": "d72b7a15-20e8-40a0-8885-3b2165b97457",
            "origin": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd",
            "type": "STRING",
            "value": "complete"
        },
        "_type": {
            "isGenerated": false,
            "key": "_type",
            "origin": "d72b7a15-20e8-40a0-8885-3b2165b97457",
            "origin": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd",
            "type": "STRING",
            "value": "TestPurpose"
        }
    },
    "uuid": "d72b7a15-20e8-40a0-8885-3b2165b97457"
    "uuid": "475f7e09-11b4-4a2e-8ef0-afcce3c451cd"
}
 No newline at end of file
+0 −37
Original line number Diff line number Diff line
{
    "attributes": {
        "_locations": {
            "elements_type": "STRING",
            "isGenerated": false,
            "key": "_locations",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "LIST",
            "value": [
                "/Documents/Draft_ETSI_TS_103 097 v1.1.14.xhtml/129932b3-d851-4f39-af43-ccec6d18c13b",
                "/Documents/ts_103097v010201p.xhtml/e9618613-82ad-42fa-88b3-2f6924c0165c"
            ]
        },
        "_name": {
            "isGenerated": false,
            "key": "_name",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "03. Check subject name"
        },
        "_transferStatus": {
            "isGenerated": false,
            "key": "_transferStatus",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "INCOMPLETE"
        },
        "_type": {
            "isGenerated": false,
            "key": "_type",
            "origin": "8a72a3c8-625f-4d64-a60c-a31bb4d07934",
            "type": "STRING",
            "value": "Requirement"
        }
    },
    "uuid": "8a72a3c8-625f-4d64-a60c-a31bb4d07934"
}
 No newline at end of file
Loading