mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Add secio protobufs
This commit is contained in:
16
libp2p/security/secio/pb/spipe.proto
Normal file
16
libp2p/security/secio/pb/spipe.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto2";
|
||||
|
||||
package spipe.pb;
|
||||
|
||||
message Propose {
|
||||
optional bytes rand = 1;
|
||||
optional bytes public_key = 2;
|
||||
optional string exchanges = 3;
|
||||
optional string ciphers = 4;
|
||||
optional string hashes = 5;
|
||||
}
|
||||
|
||||
message Exchange {
|
||||
optional bytes ephemeral_public_key = 1;
|
||||
optional bytes signature = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user