File verifier.go, Interface Method: NewVerifier()
when switching on Algorithm and a correct algorithm is found, then it checks for ValidPublicKeys().
If the Public Key is not valid, it should return a suitable error code for not valid keys, instead the present code
returns ErrAlgorithmMistmatch, which is misleading!
File verifier.go, Interface Method: NewVerifier() when switching on Algorithm and a correct algorithm is found, then it checks for ValidPublicKeys().
If the Public Key is not valid, it should return a suitable error code for not valid keys, instead the present code returns ErrAlgorithmMistmatch, which is misleading!