Documentation ¶
Index ¶
- Variables
- type Store
- func (s *Store) AddKey(passphrase []byte)
- func (s *Store) Close()
- func (s *Store) Init(passphrase []byte) (err error)
- func (s *Store) IsNew() bool
- func (s *Store) NewDecrypter(iv [aes.BlockSize]byte) cipher.Stream
- func (s *Store) NewEncrypter(iv [aes.BlockSize]byte) cipher.Stream
- func (s *Store) NewReader(reader io.Reader) (r io.Reader, err error)
- func (s *Store) NewWriter(writer io.Writer) (r io.Writer, err error)
- func (s *Store) ReadFrom(in io.Reader) (n int64, err error)
- func (s *Store) SaveTo(path string) (err error)
- func (s *Store) Unlock(passphrase []byte) (ok bool)
- func (s *Store) Unlocked() bool
- func (s *Store) WriteTo(out io.Writer) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchKey = errors.New("no such key")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.