Skip to content
New issue

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

(draft) sii_crypto: functions for dealing with XML and "certificado digital" #95

Open
glarrain opened this issue Jan 29, 2020 · 0 comments
Labels
component: crypto crypto in general (unlike 'sii_crypto') component: sii_crypto crypto particular to the SII (unlike 'crypto') enhancement New feature or request

Comments

@glarrain
Copy link
Contributor

See LibreDTE's PHP class sasco\LibreDTE\FirmaElectronica with methods:

  • open a PKCS #12 file (.pfx or .p12)
  • getID: "Método que entrega el RUN/RUT asociado al certificado"
  • get issuer
  • get (subject's) name and email address
  • get expiration, total duration, days until expiration, etc.
  • extract private key
  • extract certificate
  • sign and signXML
  • verify and verifyXML
@glarrain glarrain added enhancement New feature or request component: crypto crypto in general (unlike 'sii_crypto') component: sii_crypto crypto particular to the SII (unlike 'crypto') labels Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: crypto crypto in general (unlike 'sii_crypto') component: sii_crypto crypto particular to the SII (unlike 'crypto') enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant