#import "PregeneratedKeyAgreementParticipantProtocol.h" @implementation PregeneratedKeyAgreementParticipantProtocol +(PregeneratedKeyAgreementParticipantProtocol*) pregeneratedWithParticipant:(id)participant { PregeneratedKeyAgreementParticipantProtocol* s = [PregeneratedKeyAgreementParticipantProtocol new]; s->participant = participant; return s; } -(id) generateParticipantWithNewKeys { return participant; } -(NSData*) getId { return participant.getProtocol.getId; } @end