-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 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
18 changes: 18 additions & 0 deletions
18
application/src/main/java/net/corda/v5/application/crypto/SigningServiceSignContext.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package net.corda.v5.application.crypto; | ||
|
||
import net.corda.v5.base.annotations.CordaSerializable; | ||
|
||
/* | ||
* Context attached to the sign operation of SigningService | ||
*/ | ||
@CordaSerializable | ||
public final class SigningServiceSignContext { | ||
private final String keyCategory; | ||
|
||
/** | ||
* @param keyCategory the category of the key to be signed with | ||
*/ | ||
public SigningServiceSignContext(String keyCategory) { | ||
this.keyCategory = keyCategory; | ||
} | ||
} |