mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 18:57:57 +08:00
we shouldn't use internal packages. License: MIT Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
16 lines
202 B
Protocol Buffer
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;
|
|
}
|