Skip to content

Commit

Permalink
CORE-9975: Add new signing parameters to SigningService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
malachyb committed Sep 6, 2023
1 parent 9ea9852 commit 86a9879
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public interface SigningService {
@NotNull
DigitalSignature.WithKeyId sign(@NotNull byte[] bytes, @NotNull PublicKey publicKey, @NotNull SignatureSpec signatureSpec);

@Suspendable
@NotNull
DigitalSignature.WithKeyId sign(@NotNull byte[] bytes, @NotNull PublicKey publicKey, @NotNull SignatureSpec signatureSpec, @NotNull Map<String, String> context);

/**
* Looks into a set of signing keys to find keys owned by the caller. In case of {@link CompositeKey} it looks into
* the composite key leaves and returns the firstly found owned composite key leaf.
Expand Down

0 comments on commit 86a9879

Please sign in to comment.