Skip to content

Commit

Permalink
add convert descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Feb 14, 2018
1 parent f987854 commit fa3965f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# xmlseclibs

## 14 Feb 2018, 4.0.1 :heart:
- Add tool Pfx Converter
- Convert PFX to PEM
- Convert PFX to CER

## 02 Jan 2018, 4.0.0
- Change package name
- Move namespaces
Expand Down
4 changes: 2 additions & 2 deletions Convert.md → CONVERT.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ $pfx = file_get_contents('your-cert.pfx');
$password = 'YOUR-PASSWORD';

$converter = new PfxConverter($pfx, $password);
$pem = $converter
$cer = $converter
->toCer()
->getResult();

file_put_contents('certificate.cer', $pem);
file_put_contents('certificate.cer', $cer);
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Esta libreria se emplea para firmar comprobantes electrónicos según las normas de SUNAT.

Se requiere el certificado en .PEM, puede utilizar el siguiente ejemplo para [convertir el certificado .PFX al formato requerido](https://raw.githubusercontent.com/giansalex/xmldsig/master/Convert.md).
Se requiere el certificado en .PEM, puede utilizar el siguiente ejemplo para [convertir el certificado .PFX al formato requerido](https://github.com/giansalex/xmldsig/blob/master/CONVERT.md).


## Install:
Expand Down

0 comments on commit fa3965f

Please sign in to comment.