implemented crypto and started pairing
This commit is contained in:
parent
bd91d74de8
commit
9226a05ad8
6 changed files with 142 additions and 2 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#import "ConnectionHandler.h"
|
||||
#import "Computer.h"
|
||||
#import "CryptoManager.h"
|
||||
#import "HttpManager.h"
|
||||
|
||||
@implementation MainFrameViewController
|
||||
NSString* hostAddr;
|
||||
|
|
@ -87,7 +88,10 @@ MDNSManager* mDNSManager;
|
|||
|
||||
mDNSManager = [[MDNSManager alloc] initWithCallback:self];
|
||||
[mDNSManager searchForHosts];
|
||||
[[[CryptoManager alloc] init] generateKeyPairUsingSSl];
|
||||
CryptoManager* cryptMan = [[CryptoManager alloc] init];
|
||||
[cryptMan getUniqueID];
|
||||
HttpManager* hMan = [[HttpManager alloc] init];
|
||||
[hMan saltPIN:[hMan generatePIN]];
|
||||
}
|
||||
|
||||
- (void)updateHosts:(NSArray *)hosts {
|
||||
|
|
|
|||
Loading…
Reference in a new issue