Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 18, 2024
1 parent 9002b07 commit 7b22208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Configuration/UserTextConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getRow(): int

public function getAttachParent(): ?string
{
return $this->config['user_text_row'] ?? null;
return $this->config['user_text_attach_parent'] ?? null;
}

public function getAttachChild(): ?string
Expand Down
4 changes: 2 additions & 2 deletions src/Service/PdfAsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ public function advancedlySignPdfData(string $data, string $profileName, string
}

$params = new SignParameters(Connector::jks());
$params->setKeyIdentifier($profile['key_id']);
$params->setProfile($profile['profile_id']);
$params->setKeyIdentifier($profile->getKeyId());
$params->setProfile($profile->getProfileId());

// Add custom user defined text if needed
$overrides = $this->buildUserTextConfigOverride($profile, $userText);
Expand Down

0 comments on commit 7b22208

Please sign in to comment.