Documentation ¶
Index ¶
- type Store
- func (s *Store) Create(_ context.Context, id string, alg *entities2.Algorithm, ...) (*entities.Key, error)
- func (s *Store) Decrypt(_ context.Context, id string, data []byte) ([]byte, error)
- func (s *Store) Delete(_ context.Context, _ string) error
- func (s *Store) Destroy(_ context.Context, id string) error
- func (s *Store) Encrypt(_ context.Context, id string, data []byte) ([]byte, error)
- func (s *Store) Get(_ context.Context, id string) (*entities.Key, error)
- func (s *Store) GetDeleted(_ context.Context, _ string) (*entities.Key, error)
- func (s *Store) Import(_ context.Context, id string, privKey []byte, alg *entities2.Algorithm, ...) (*entities.Key, error)
- func (s *Store) List(_ context.Context, _, _ uint64) ([]string, error)
- func (s *Store) ListDeleted(_ context.Context, _, _ uint64) ([]string, error)
- func (s *Store) Restore(_ context.Context, _ string) error
- func (s *Store) Sign(_ context.Context, id string, data []byte, alg *entities2.Algorithm) ([]byte, error)
- func (s *Store) Update(_ context.Context, id string, attr *entities.Attributes) (*entities.Key, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.