Skip to content

Commit

Permalink
update docs for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Jan 3, 2018
1 parent f7f3cda commit c42c993
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ $xmlDocument = new DOMDocument();
$xmlDocument->load($xmlPath);

$xmlTool = new SunatXmlSecAdapter();
$xmlTool->setPrivateKey(file_get_contents($certPath));
$xmlTool->setPublicKey(file_get_contents($certPath));
$xmlTool->setCertificateFromFile($certPath);

$xmlTool->sign($xmlDocument);

Expand Down

0 comments on commit c42c993

Please sign in to comment.