We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hola amigo estoy tratando de usar tu librería cifrando con un archivo de extension .p12
$fileXmlName = "/path/file/factura.xml"; $docXmlExport = $rootNode->asXML($fileXmlName); $docXml = $rootNode->asXML();
$certPath ="/path/file/key_example.p12"; $signer = new SignedXml(); $signer->setCertificateFromFile($certPath); $xmlSigned = $signer->signFromFile($fileXmlName); echo $xmlSigned;
al final me sale esta notificacion : Warning: openssl_sign(): supplied key param cannot be coerced into a private key
Pdrias ayudarme o indicarme que estoy haciendo mal??
saludos
The text was updated successfully, but these errors were encountered:
En la guia indica que se requiere un archivo .pem , que contenta tanto la clave publica y privada
.pem
Sorry, something went wrong.
Ok amigo muchas gracias ...
No branches or pull requests
Hola amigo estoy tratando de usar tu librería cifrando con un archivo de extension .p12
$fileXmlName = "/path/file/factura.xml";
$docXmlExport = $rootNode->asXML($fileXmlName);
$docXml = $rootNode->asXML();
al final me sale esta notificacion :
Warning: openssl_sign(): supplied key param cannot be coerced into a private key
Pdrias ayudarme o indicarme que estoy haciendo mal??
saludos
The text was updated successfully, but these errors were encountered: