File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ package secure_aggregation.willow;
1818
1919option java_multiple_files = true ;
2020
21- message GenerateKeyRequest {}
21+ message GenerateKeyRequest {
22+ // The key ID to use for the generated key. If the key with the given ID
23+ // already exists, it will be returned instead.
24+ bytes key_id = 1 ;
25+ }
2226
2327message GenerateKeyResponse {
2428 // The serialized bytes of the public key.
@@ -28,8 +32,10 @@ message GenerateKeyResponse {
2832message DecryptRequest {
2933 // The serialized bytes of the message to decrypt.
3034 bytes decryption_request = 1 ;
31- // The serialized bytes of the public key as returned by GenerateAheKeyPair
32- bytes public_key = 2 ;
35+ // The serialized bytes of the public key as returned by GenerateKey.
36+ bytes public_key = 2 [deprecated = true ];
37+ // The key ID of the public key that was used in the GenerateKey call.
38+ bytes key_id = 3 ;
3339}
3440
3541message DecryptResponse {
You can’t perform that action at this time.
0 commit comments