-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from VirgilSecurity/release/v0.10.2
Release v0.10.2 Features: - Lib/Foundation: Added support for managing recipients within MessageInfo - Lib/PHE: Added PHE Cipher additional data support Changes: - Wrapper/Java: Run java benchmark with a profile only
- Loading branch information
Showing
92 changed files
with
3,851 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.10.1 | ||
0.10.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
codegen/models/project_foundation/class_message_info_editor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<class name="message info editor"> | ||
Add and/or remove recipients and it's paramteres within message info. | ||
|
||
Usage: | ||
1. Unpack binary message info that was obtained from RecipientCipher. | ||
2. Add and/or remove key recipients. | ||
3. Pack MessagInfo to the binary data. | ||
|
||
<require interface="encrypt"/> | ||
<require interface="decrypt"/> | ||
<require interface="public key"/> | ||
<require interface="private key"/> | ||
<require interface="key cipher"/> | ||
<require interface="message info serializer"/> | ||
<require class="alg factory"/> | ||
<require class="key alg factory"/> | ||
<require class="key provider"/> | ||
<require impl="ctr drbg"/> | ||
<require impl="message info der serializer"/> | ||
|
||
<dependency name="random" interface="random"/> | ||
<property name="message info" class="message info"/> | ||
<property name="message info serializer" interface="message info serializer"/> | ||
<property name="encryption key" class="buffer"/> | ||
|
||
<method name="setup defaults"> | ||
Set depenencies to it's defaults. | ||
|
||
<return enum="status"/> | ||
</method> | ||
|
||
<method name="unpack"> | ||
Unpack serialized message info. | ||
|
||
<argument name="message info data" class="data"/> | ||
<argument name="owner recipient id" class="data"/> | ||
<argument name="owner private key" interface="private key"/> | ||
|
||
<return enum="status"/> | ||
</method> | ||
|
||
<method name="add key recipient"> | ||
Add recipient defined with id and public key. | ||
|
||
<argument name="recipient id" class="data"/> | ||
<argument name="public key" interface="public key"/> | ||
|
||
<return enum="status"/> | ||
</method> | ||
|
||
<method name="remove key recipient"> | ||
Remove recipient with a given id. | ||
Return false if recipient with given id was not found. | ||
|
||
<argument name="recipient id" class="data"/> | ||
|
||
<return type="boolean"/> | ||
</method> | ||
|
||
<method name="remove all"> | ||
Remove all existent recipients. | ||
</method> | ||
|
||
<method name="packed len" is_const="1"> | ||
Return length of serialized message info. | ||
Actual length can be obtained right after applying changes. | ||
|
||
<return type="size"/> | ||
</method> | ||
|
||
<method name="pack"> | ||
Return serialized message info. | ||
Precondition: this method can be called after "apply". | ||
|
||
<argument name="message info" class="buffer"> | ||
<length method="packed len"/> | ||
</argument> | ||
</method> | ||
</class> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.