File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,15 @@ private function getHashAlgorithm(): string {
154154 return 'SHA256 ' ;
155155 }
156156
157+ private function getCertificationLevel (): ?string {
158+ if (!$ this ->docMdpConfigService ->isEnabled ()) {
159+ return null ;
160+ }
161+
162+ return $ this ->docMdpConfigService ->getLevel ()->name ;
163+ }
164+
165+ #[\Override]
157166 public function sign (): File {
158167 $ this ->beforeSign ();
159168
@@ -162,6 +171,7 @@ public function sign(): File {
162171 return $ this ->getInputFile ();
163172 }
164173
174+ #[\Override]
165175 public function getSignedContent (): string {
166176 $ param = $ this ->getJSignParam ()
167177 ->setCertificate ($ this ->getCertificate ())
@@ -287,6 +297,7 @@ private function getScaleFactor(float $width): float {
287297 }
288298
289299
300+ #[\Override]
290301 public function readCertificate (): array {
291302 $ result = $ this ->certificateEngineFactory
292303 ->getEngine ()
You can’t perform that action at this time.
0 commit comments