ErrInvalidPublicKey results when a public key is not usable by this code. FIPS is quite strict about the format of DSA keys, but other code may be less so. Thus, when using keys which may have been generated by other code, this error must be handled.
ErrInvalidPublicKey is referenced in 3 repositoriesgithub.com/golang/go
- 1 reference in src/crypto/dsa/dsa.go
- 1 reference in dsa.go
- 1 reference in goapi/full/wrap.go