We've already done the work to figure out which key to use. Keep using it when inferring which verification algorithm to use.
Closes #522
Files | Coverage |
---|---|
ecdsa.go | 79.71% |
eddsa.go | 50.00% |
headers.go | 60.87% |
headers_gen.go | 66.67% |
hmac.go | 85.71% |
io.go | 60.00% |
jws.go | 77.52% |
message.go | 81.74% |
option.go | 86.67% |
rsa.go | 84.85% |
signer.go | 100.00% |
verifier.go | 95.45% |
Folder Totals (12 files) | 75.99% |
Project Totals (83 files) | 72.75% |