ItsSecurity_Templates.ttcn 1.65 KB
Newer Older
1
/**
garciay's avatar
garciay committed
2
 *  @author   ETSI / STF481 / STF507 / STF517
3
4
5
6
7
 *  @version  $URL$
 *            $Id$
 *  @desc     Module containing templates for secured GeoNetworking ATS
 *
 */
filatov's avatar
filatov committed
8
module ItsSecurity_Templates {
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    
//    // LibIts
//    import from DENM_PDU_Descriptions language "ASN.1:1997" all;
//    import from ITS_Container language "ASN.1:1997" all;
//    
    // LibItsBtp
    import from LibItsBtp_TypesAndValues all;
    import from LibItsBtp_Templates all;
    import from LibItsBtp_Pixits all;
    
    // LibItsGeoNet
    import from LibItsGeoNetworking_TypesAndValues all;
    import from LibItsGeoNetworking_Templates all;
    
    template (present) BtpPayload mw_btpCamPayload := {
        decodedPayload := {
            camPacket := ?
        },
        rawPayload := ?
    } // End of template mw_btpCamPayload
    
    
    template (present) BtpPayload mw_btpDenmPayload := {
        decodedPayload := {
            denmPacket := ?
        },
        rawPayload := ?
    } // End of template mw_btpDenmPayload
    
    template (present) Payload mw_secCamPayload := {
        decodedPayload := {
garciay's avatar
garciay committed
40
            btpPacket := mw_btpB(
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
                PX_DESTINATION_PORT,
                ?,
                mw_btpCamPayload
            )
        },
        rawPayload := ?
        
    } // End of template mw_secCamPayload
    
    template (present) Payload mw_secDenmPayload := {
        decodedPayload := {
            btpPacket := mw_btpB(
                PX_DESTINATION_PORT,
                ?,
                mw_btpDenmPayload
            )
        },
        rawPayload := ?
        
    } // End of template mw_secCamPayload
    
garciay's avatar
garciay committed
62
} // End of module ItsSecurity_Templates