github.com/slackhq/nebula@v1.9.0/cert/errors.go (about) 1 package cert 2 3 import ( 4 "errors" 5 ) 6 7 var ( 8 ErrRootExpired = errors.New("root certificate is expired") 9 ErrExpired = errors.New("certificate is expired") 10 ErrNotCA = errors.New("certificate is not a CA") 11 ErrNotSelfSigned = errors.New("certificate is not self-signed") 12 ErrBlockListed = errors.New("certificate is in the block list") 13 ErrSignatureMismatch = errors.New("certificate signature did not match") 14 )