mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-20 07:00:31 +00:00
implemented crypto and started pairing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user