-
Notifications
You must be signed in to change notification settings - Fork 56
Usage: 3) Validating signature
Lucas Nepomuceno edited this page Jul 29, 2021
·
2 revisions
<?php
use Illuminate\Http\Request;
use App\Models\Certificate;
use LSNepomuceno\LaravelA1PdfSign\ValidatePdfSignature;
class ExampleController() {
public function dummyFunction(Request $request){
// Returning signed resource string
try {
dd(ValidatePdfSignature::from('path/to/pdf/file.pdf');
} catch (\Throwable $th) {
// TODO necessary
}
}
}