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.