code: func (x *XC) ReadNamesFromKey(ctx context.Context, buf []byte) ([]string, error) {
  	pk := &xcpb.PublicKey{}
  	if err := proto.Unmarshal(buf, pk); err != nil {
  		return nil, errors.Wrapf(err, "failed to unmarshal public key: %s", err)
  	}
  
  	return []string{pk.Identity.Name}, nil
  }
docs: // ReadNamesFromKey unmarshals the given public key and returns the identities name