Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPluginNotFound - Error message for plugin not found ErrPluginNotFound = errors.New("Plugin not found") // ErrKeyringFileNotFound - Error message for keyring file (.gpg) not found ErrKeyringFileNotFound = errors.New("Keyring file (.gpg) not found") // ErrUnableToReadKeyring - Error message for unable to read keyring ErrUnableToReadKeyring = errors.New("Unable to read keyring") // ErrSignedFileNotFound - Error message for signed file not found ErrSignedFileNotFound = errors.New("Signed file not found") // ErrCheckSignature - Error message for error checking signature ErrCheckSignature = errors.New("Error checking signature") )
Functions ¶
This section is empty.
Types ¶
type SigningManager ¶
type SigningManager struct{}
SigningManager anonymous struct type
func (*SigningManager) ValidateSignature ¶
func (s *SigningManager) ValidateSignature(keyringFiles []string, signedFile string, signature []byte) error
ValidateSignature is exported for plugin authoring
Click to show internal directories.
Click to hide internal directories.