-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/jpmorganchase/tessera int…
…o feature/azure-vault-versioning
- Loading branch information
Showing
14 changed files
with
195 additions
and
277 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
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
24 changes: 9 additions & 15 deletions
24
tessera-core/src/main/java/com/quorum/tessera/sync/ResendPartyStoreImpl.java
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
22 changes: 17 additions & 5 deletions
22
tessera-core/src/main/java/com/quorum/tessera/transaction/PayloadPublisher.java
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,12 +1,24 @@ | ||
|
||
package com.quorum.tessera.transaction; | ||
|
||
import com.quorum.tessera.encryption.EncodedPayloadWithRecipients; | ||
import com.quorum.tessera.encryption.KeyNotFoundException; | ||
import com.quorum.tessera.encryption.PublicKey; | ||
|
||
|
||
/** | ||
* Publishes messages from one node to another | ||
*/ | ||
public interface PayloadPublisher { | ||
|
||
void publishPayload(EncodedPayloadWithRecipients encodedPayloadWithRecipients,PublicKey recipientKey); | ||
|
||
|
||
/** | ||
* Formats, encodes and publishes encrypted messages using the target | ||
* public key as the identifier, instead of the URL | ||
* | ||
* @param encodedPayloadWithRecipients the pre-formatted payload object | ||
* (i.e. with all recipients still present) | ||
* @param recipientKey the target public key to publish the | ||
* payload to | ||
* @throws KeyNotFoundException if the target public key is not known | ||
*/ | ||
void publishPayload(EncodedPayloadWithRecipients encodedPayloadWithRecipients, PublicKey recipientKey); | ||
|
||
} |
Oops, something went wrong.