mirror of
https://github.com/slackhq/nebula.git
synced 2025-01-25 17:48:25 +00:00
2e85d138cd
Co-authored-by: Jack Doan <jackdoan@rivian.com>
15 lines
638 B
Go
15 lines
638 B
Go
package cert
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
ErrRootExpired = errors.New("root certificate is expired")
|
|
ErrExpired = errors.New("certificate is expired")
|
|
ErrNotCA = errors.New("certificate is not a CA")
|
|
ErrNotSelfSigned = errors.New("certificate is not self-signed")
|
|
ErrBlockListed = errors.New("certificate is in the block list")
|
|
ErrSignatureMismatch = errors.New("certificate signature did not match")
|
|
ErrInvalidPEMCertificateUnsupported = errors.New("bytes contain an unsupported certificate format")
|
|
)
|