23 lines
525 B
Python
23 lines
525 B
Python
#!/usr/bin/env python3
|
|
|
|
class NetWrapper:
|
|
|
|
def __init__(self, publicKey: str, privateKey: str, cipherKey: str = ""):
|
|
self.publicKey = publicKey
|
|
self.privateKey = privateKey
|
|
self.cipherKey = cipherKey
|
|
|
|
def identifyServer(self,message: bytes):
|
|
#Message is coded with Server RSA public key in string byte format
|
|
#Create network_interface
|
|
pass
|
|
|
|
def identifyCleint(self):
|
|
pass
|
|
|
|
def sendMessage(self):
|
|
pass
|
|
|
|
def recieveMessage(self):
|
|
pass
|