go-libp2p/crypto/internal/pb/crypto.proto

16 lines
202 B
Protocol Buffer

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