biscuit-java
biscuit-java copied to clipboard
Remote signer
Adds the capability to create a KeyPair by providing a Signer delegate which knows how to sign block byte[] directly. Existing usages will infer a PrivateKeySigner, however the intended use case is for when the private key cannot be directly accessed, e.g when working with KMS in AWS. Added a test showing this use case.
This PR also unifies the signing behaviour into a single file, which maybe nice before updating the implementation to the v1 spec. See the Signer interface.
Could you have a look at #113 ?
This PR is not outdated by #113 so I will close it