Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotVerifiedError ¶
type NotVerifiedError string
NotVerifiedError reports a error when doing the key check. For example if the graph is not verified or the key has expired.
func (NotVerifiedError) Error ¶
func (e NotVerifiedError) Error() string
type Store ¶
Store defines a TrustStore : stores trusted certificates and permissions which are used to verify the signature keys on manifests. Note: This is being deprecated by the notary work.
func NewStore ¶
NewStore creates a TrustStore from a given path, if the path is not relative, it will be joined with the working directory.
func (*Store) CheckKey ¶
CheckKey verifies that the given public key is allowed to perform the given action on the given node according to the trust graph.
func (*Store) UpdateBase ¶
func (t *Store) UpdateBase()
UpdateBase retrieves updated base graphs. This function cannot error, it should only log errors.