Commit 19acefd5 authored by garciay's avatar garciay
Browse files

STF538: Certificate TPs implementation

parent ca69dcbb
Loading
Loading
Loading
Loading
+34 −0
Original line number Original line Diff line number Diff line
@@ -575,6 +575,20 @@ module LibItsSecurity_Templates {
            content         := { signedData := p_signedData }
            content         := { signedData := p_signedData }
        } // End of template mw_secured_data_signed
        } // End of template mw_secured_data_signed
        
        
        template (value) EtsiTs103097Data m_etsiTs103097Data_encrypted(
                                                                       in template (value) EncryptedData p_encryptedData
        ) := {
            protocolVersion := c_protocol_version,
            content         := { encryptedData := p_encryptedData }
        } // End of template m_etsiTs103097Data_encrypted
        
        template (present) EtsiTs103097Data mw_etsiTs103097Data_encrypted(
                                                                          template (present) EncryptedData p_encryptedData := ?
        ) := {
            protocolVersion := c_protocol_version,
            content         := { encryptedData := p_encryptedDat }
        } // End of template mw_etsiTs103097Data_encrypted
        
        /**
        /**
         * @desc Generic send template for EtsiTs103097Data message
         * @desc Generic send template for EtsiTs103097Data message
         */
         */
@@ -668,6 +682,26 @@ module LibItsSecurity_Templates {
        
        
    } // End of group signedData
    } // End of group signedData
    
    
    group encryptedData {
        
        template (value) EncryptedData m_encryptedData(
                                                       in template (value) SequenceOfRecipientInfo p_recipients,
                                                       in template (value) SymmetricCiphertext p_ciphertex
        ) := {
            recipients := p_recipients,
            ciphertext := p_ciphertex
        } // End of template m_encryptedData
        
        template (present) EncryptedData mw_encryptedData(
                                                          template (present) SequenceOfRecipientInfo p_recipients := ?,
                                                          template (present) SymmetricCiphertext p_ciphertex := ?
        ) := {
            recipients := p_recipients,
            ciphertext := p_ciphertex
        } // End of template mw_encryptedData
        
    } // End of group encryptedData
    
    /**
    /**
     * @desc Send/Receive templates for Payload
     * @desc Send/Receive templates for Payload
     * @see Draft ETSI TS 103 097 V1.3.1 Clause 5.2 Payload
     * @see Draft ETSI TS 103 097 V1.3.1 Clause 5.2 Payload