Commit 038d4ba0 authored by garciay's avatar garciay
Browse files

Mantis issue 0006992: Changing security protocol version or added additional...

Mantis issue 0006992: Changing security protocol version or added additional signature violates the message signature
parent 2787761c
Loading
Loading
Loading
Loading
+334 −9

File changed.

Preview size limit exceeded, changes collapsed.

+11
Changes for ttcn/Security/LibItsSecurity_Templates.ttcn3: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2477,6 +2477,17 @@ module LibItsSecurity_Templates {
            trailerFieldType        := p_trailer_field_type
        } // End of template m_toBeSignedSecuredMessage
        
        // FIXME Replace c_protocol_version by a PIXIT
        template (value) ToBeSignedSecuredMessage m_toBeSignedSecuredMessage_wrong_protocol(
            in template (value) HeaderFields p_header_fields,
            in template (value) SecPayload p_payload_field,
            in template (value) TrailerFieldType p_trailer_field_type,
            in template (value) UInt8 p_protocol_version := c_protocol_version,
            in template (value) UInt8 p_trailer_fieldsLength := 67
        ) modifies m_toBeSignedSecuredMessage := {
            protocol_version        := p_protocol_version
        } // End of template m_toBeSignedSecuredMessage
        
        /**
         * @desc The certificate paylaod to be signed
         * @member p_certificate    The signed certificate to be verified