js-peer-id/protos/crypto.proto
2016-03-22 17:01:46 +01:00

13 lines
181 B
Protocol Buffer

enum KeyType {
RSA = 0;
}
message PublicKey {
required KeyType Type = 1;
required bytes Data = 2;
}
message PrivateKey {
required KeyType Type = 1;
required bytes Data = 2;
}