mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-16 05:05:17 +00:00
24 lines
344 B
Protocol Buffer
24 lines
344 B
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package crypto.pb;
|
||
|
|
||
|
option go_package = "github.com/libp2p/go-libp2p/core/crypto/pb";
|
||
|
|
||
|
enum KeyType {
|
||
|
RSA = 0;
|
||
|
Ed25519 = 1;
|
||
|
Secp256k1 = 2;
|
||
|
ECDSA = 3;
|
||
|
Ed448 = 4;
|
||
|
}
|
||
|
|
||
|
message PublicKey {
|
||
|
required KeyType Type = 1;
|
||
|
required bytes Data = 2;
|
||
|
}
|
||
|
|
||
|
message PrivateKey {
|
||
|
required KeyType Type = 1;
|
||
|
required bytes Data = 2;
|
||
|
}
|