Creates a PFX (PKCS-12) file in base64 format suitable for a Cancelación.
Crea un PFX (PKCS-12) archivo en formato base64 adecuado para una cancelación.
Cmd : | WRITEPFX Command |
.NET : | Sat.WritePfxFile Method |
VBA/VB6 : | satWritePfxFile Function |
C (ANSI) : | SAT_WritePfxFile Function |
C++ (STL) : | firmasat::Sat::WritePfxFile |
The default output file will be identical in format to the final output from the following sequence of OpenSSL commands (without the intermediate files!):
x509 -inform DER -in certificado.cer -out certificado.pem pkcs8 -inform DER -in llave.key -passin pass:miclave -out llave.pem pkcs12 -export -out archivo.pfx -inkey llave.pem -in certificado.pem -passout pass:clavedesalida base64 -in archivo.pfx -out archivo.pem