func (s *memRootKeyStore) Get(_ context.Context, id []byte) ([]byte, error) {
	s.mu.Lock()
	defer s.mu.Unlock()
	if len(id) != 1 || id[0] != '0' || s.key == nil {
		return nil, ErrNotFound
	}
	return s.key, nil
}
// Get implements Store.Get.
Get implements Store.Get.
// Get implements Store . Get .
func (s *memRootKeyStore) Get(_ context.Context, id []byte) ([]byte, error) {
	s.mu.Lock()
	defer s.mu.Unlock()
	if len(id) != 1 || id[0] != '0' || s.key == nil {
		return nil, ErrNotFound
	}
	return s.key, nil
}
func ( s * memRootKeyStore ) Get ( _ context . Context , id [ ] byte ) ( [ ] byte , error ) { s . mu . Lock ( ) defer s . mu . Unlock ( ) if len ( id ) != 1 || id [ 0 ] != '0' || s . key == nil { return nil , ErrNotFound } return s . key , nil }
Get implements Store.Get.
Get implements Store . Get .