You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should create a new function: signRequest and signResponse that uses these 2 functions, and a derefernced key to sign the request or response.
This would also allow us to do more validation when signing while knowing the algorithm and keyType.
While not as dire, verifyRequest and verifyResponse might be similarly useful and could wrap around parseRequest.
The text was updated successfully, but these errors were encountered:
Currently in order to sign a request 2 different functions are called:
createAuthzHeader
createSignatureString
I think we should create a new function:
signRequest
andsignResponse
that uses these 2 functions, and a derefernced key to sign the request or response.This would also allow us to do more validation when signing while knowing the algorithm and keyType.
While not as dire,
verifyRequest
andverifyResponse
might be similarly useful and could wrap aroundparseRequest
.The text was updated successfully, but these errors were encountered: