clean code

This commit is contained in:
Stéphane Depierrepont aka Toorop
2015-05-06 16:15:02 +02:00
parent 10eac5151d
commit a96bf59256
3 changed files with 6 additions and 9 deletions

View File

@@ -20,6 +20,9 @@ var (
// If bad Canonicalization parameter
ErrSignBadCanonicalization = errors.New("bad Canonicalization parameter")
// when unable to parse private key
ErrCandNotParsePrivateKey = errors.New("can not parse private key, check format (pem) and validity")
// Bad algorithm
ErrSignBadAlgo = errors.New("bad algorithm. Only rsa-sha1 or rsa-sha256 are permitted")