View definition

var ErrInvalidPublicKey

Defined in


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 repositories