Commit e2d0c5c1 authored by liebigan's avatar liebigan
Browse files

add SSL TPs

parent 2fa2d9ef
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ Package esrp_commons {
		- PICS_ESRP_LOST_REDIRECT
		- PICS_ESRP_HELD
		- PICS_ESRP_HELD_LOCATION_REFERENCE
		- PICS_ESRP_TLS_AUTHENTICATION
		
		;
		entities:
@@ -30,6 +31,7 @@ Package esrp_commons {
		- returns
		- forwards
		- sends
		- rejects
		- dequeueRegistered // complete dequeue registration + IUT subscribed for QueueState
		- default_routes
		- reachable_by
@@ -72,13 +74,23 @@ Package esrp_commons {
		type Service;
		type ServiceList;
		type Certificate;
		type IncidentIdInfoHeader;
		type CallIdIdInfoHeader;
		
		type Mapping
			with
				geometry 	of type Geometry,
				service 	of type URN,
				uri			of type URI
		;
		
		type SipInvite
			with
							service 			of type String,
							caller				of type URI,
				optional	location 			of type Geometry,
				optional	locationReference 	of type URI
				optional	locationReference 	of type URI,
				optional 	certificate 			of type Certificate
		;
		
		type EcrfConfig
+31 −1
Original line number Diff line number Diff line
@@ -248,7 +248,6 @@ Package ESRP {
				}
	        }
		} 
		
	}
	
	
@@ -810,6 +809,37 @@ Package ESRP {
	        }
	    }	       		
	}	
	
	
	Group "Security" {
		import all from esrp_commons;
    	import all from sip_commons;
    	
		Test Purpose {   
	        TP Id TP_ESRP_TLS_BI_01	       
	        
	        Test objective 
        	"IUT rejects SIP requests without a certificate" 
	        
	        Reference
        	"TODO"   		
	      	      	
			PICS Selection PICS_ESRP_TLS_AUTHENTICATION
	     	      	    					
	        Expected behaviour	       
	        ensure that {  
            	when { 
            		the IUT entity receives a (typed) request SipInvite containing
            			not certificate 
						;			
              	} 
              	then {
                	the IUT entity rejects the Connection
        	  	}           	 
	        }
		}       	 
	            		
	}
}