Answer the question
In order to leave comments, you need to log in
How to parse guest .cer in PHP?
Are there libraries that do the same job as the standard PHP openssl_x509_read and openssl_x509_parse but work with GOST certificates?
Ordinary functions return bool(false) when trying to read/parse
ps GOST 34.10.11-2012
Answer the question
In order to leave comments, you need to log in
As a result, the phpseclib library and its X509 class saved it.
In any case, thanks to galaxy
In openssl, you can tie GOSTs - https://github.com/gost-engine/engine/blob/master/...
If this does not suit you, then there is hardly an analogue.
If you just need to parse the certificate, then take ASN.1 (for example, https://github.com/FGrosse/PHPASN1 ). The structure will not be easy, but you can figure it out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question