ItsSecurity_Templates.ttcn 1.91 KB
Newer Older
garciay's avatar
garciay committed
 *  @author   ETSI / STF481 / STF507 / STF517
 *  @version  $URL$
 *            $Id$
 *  @desc     Module containing templates for secured GeoNetworking ATS
garciay's avatar
garciay committed
 *  @copyright   ETSI Copyright Notification
 *               No part may be reproduced except as authorized by written permission.
 *               The copyright and the foregoing restriction extend to reproduction in all media.
 *               All rights reserved.
module ItsSecurity_Templates {
    
//    // 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
            btpPacket := mw_btpB(
                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
    
} // End of module ItsSecurity_Templates