DDB-1753 #5
|
|
@ -33,7 +33,7 @@ class DigitalSignatureService
|
|||
exec(sprintf('cp %s %s.pdf', $document->tempFileName, $document->tempFileName));
|
||||
exec(sprintf('cryptcp -sign -detached -der %s', $document->tempFileName . '.pdf'));
|
||||
|
||||
$response = base64_encode(file_get_contents($document->tempFileName . '.sgn'));
|
||||
$response = base64_encode(file_get_contents($document->tempFileName . '.pdf.sgn'));
|
||||
|
||||
$this->removeExistingDocumentService->removeExistingDocument($document);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue