mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			555 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			15 lines
		
	
	
		
			555 B
		
	
	
	
		
			Objective-C
		
	
| #import <Foundation/Foundation.h>
 | |
| #import "KeyAgreementProtocol.h"
 | |
| #import "KeyAgreementParticipant.h"
 | |
| 
 | |
| /// A mock key agreement protocol.
 | |
| /// Used in testing to create key agreement participants with preset keys.
 | |
| /// It would be very bad if one of these was used in non-testing code...
 | |
| 
 | |
| @interface PregeneratedKeyAgreementParticipantProtocol : NSObject <KeyAgreementProtocol> {
 | |
| @private id<KeyAgreementParticipant> participant;
 | |
| }
 | |
| 
 | |
| +(PregeneratedKeyAgreementParticipantProtocol*) pregeneratedWithParticipant:(id<KeyAgreementParticipant>)participant;
 | |
| @end
 |