Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskKeyStore ¶
type DiskKeyStore struct {
// contains filtered or unexported fields
}
func OpenOrInitKeystore ¶
func OpenOrInitKeystore(p string) (*DiskKeyStore, error)
func (*DiskKeyStore) Delete ¶
func (fsr *DiskKeyStore) Delete(name string) error
func (*DiskKeyStore) Get ¶
func (fsr *DiskKeyStore) Get(name string) (types.KeyInfo, error)
Get gets a key out of keystore and returns types.KeyInfo coresponding to named key
func (*DiskKeyStore) List ¶
func (fsr *DiskKeyStore) List() ([]string, error)
List lists all the keys stored in the KeyStore
Click to show internal directories.
Click to hide internal directories.