OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cb5cee8a2234f46839b9525d3b04404f1656bd1b
[bytom/vapor.git]
/
vendor
/
github.com
/
libp2p
/
go-libp2p-crypto
/
pb
/
crypto.proto
1
syntax = "proto2";
2
3
package crypto.pb;
4
5
enum KeyType {
6
RSA = 0;
7
Ed25519 = 1;
8
Secp256k1 = 2;
9
ECDSA = 3;
10
}
11
12
message PublicKey {
13
required KeyType Type = 1;
14
required bytes Data = 2;
15
}
16
17
message PrivateKey {
18
required KeyType Type = 1;
19
required bytes Data = 2;
20
}