-
Notifications
You must be signed in to change notification settings - Fork 5
wrappers around API #20
Copy link
Copy link
Open
Description
We need wrappers around disco_Initialize for the different handshakes. Some ideas:
- NX ->
client_authenticates_server_via_PKI_handshake() - NX ->
client_authenticates_server_via_TOFU_handshake() - NNpsk2 ->
symmetric_key_handshake() - XK ->
client_authenticated_via_PKI_and_server_key_is_known_to_client()
These are really mouthy. Perhaps a composition system?
my_protocol = new(Disco)
my_protocol.authenticate_server(PKI)
tada
Need a composition system for disco_Initialize as well. Too many NULL in there. Can add:
my_protocol.addMyKey()
my_protocol.addRemoteKey()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels