. */ namespace SP\Domain\Export; use SP\Domain\Common\Services\ServiceException; use SP\Domain\Export\Services\VerifyResult; use SP\Domain\Import\Services\ImportException; use SP\Infrastructure\File\FileException; /** * Class XmlVerifyService * * Verifies a sysPass exported file format * * @package SP\Domain\Export\Services */ interface XmlVerifyServiceInterface { /** * @throws FileException * @throws ImportException * @throws ServiceException */ public function verify(string $xmlFile): VerifyResult; /** * @throws FileException * @throws ImportException * @throws \SP\Domain\Common\Services\ServiceException */ public function verifyEncrypted(string $xmlFile, string $password): VerifyResult; }