Commit c261d6c7 authored by garciay's avatar garciay
Browse files

Add security profiles groups

parent 3a78660e
Loading
Loading
Loading
Loading
+82 −30
Original line number Original line Diff line number Diff line
@@ -10,6 +10,40 @@ module LibItsSecurity_Templates {
    // LibItsSecurity
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    import from LibItsSecurity_TypesAndValues all;
    
    
    group dummyBasicFormatElements {
        
        group dummyBasicFormatElementsSend {
            
            /**
             * @desc Generic send template for EccPoint description
             * @see Draft ETSI TS 103 097 V1.1.6 Clause 4.2.5   EccPoint
             * @see Draft ETSI TS 103 097 V1.1.6 Table 2: Derivation of field sizes depending on the used algorithm
             */
            template (value) PublicKeyContainer m_eccPoint_dummy := { 
                eccPoint := {
                    algorithm       := e_ecdsa_nistp256_with_sha256,
                    field_size      := 32, 
                    type_           := e_x_coordinate_only,
                    x               := 'CAFEDECACAFEDECACAFEDECACAFEDECACAFEDECACAFEDECACAFEDECACAFEDECA'O, // TODO Use PIXITs?
                    y               := omit
                }
            } // End of type m_publicKey_eccPoint_dummy
            
            /**
             * @desc 
             */
            template (value) PublicKey m_publicKey_eccPoint_dummy := {
                algorithm   := e_ecdsa_nistp256_with_sha256,
                public_key  := m_eccPoint_dummy
            } // End of type PublicKey
            
        } // End of group dummyBasicFormatElementsSend 
        
        
    } // End of group dummyBasicFormatElements 
    
    group dummyMessages {
        
        group dummyMessagesRecv {
        group dummyMessagesRecv {
            
            
            /**
            /**
@@ -41,6 +75,24 @@ module LibItsSecurity_Templates {
            
            
        } // End of group dummyMessagesRecv 
        } // End of group dummyMessagesRecv 
        
        
    } // End of group dummyMessages
    
    group securityProfiles {
        
        group camSecurityProfiles {
            
        } // End of group camSecurityProfiles
        
        group denmSecurityProfiles {
            
        } // End of group denmSecurityProfiles
        
        group otherSecurityProfiles {
            
        } // End of group otherSecurityProfiles
        
    } // End of group securityProfiles
    
    group utPrimitives {
    group utPrimitives {
        
        
    } // End of group utPrimitives
    } // End of group utPrimitives