From d9142d8d1a3dd2d63f3352328623fa07fd2028ed Mon Sep 17 00:00:00 2001 From: malachy Date: Wed, 6 Sep 2023 16:01:54 +0100 Subject: [PATCH] CORE-9975: Add new signing parameters to SigningService.java --- .../java/net/corda/v5/application/crypto/SigningService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/src/main/java/net/corda/v5/application/crypto/SigningService.java b/application/src/main/java/net/corda/v5/application/crypto/SigningService.java index 0dc42b71ef..5fd96fa46e 100644 --- a/application/src/main/java/net/corda/v5/application/crypto/SigningService.java +++ b/application/src/main/java/net/corda/v5/application/crypto/SigningService.java @@ -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 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.