[SO] X-509 certificates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[SO] X-509 certificates

Max Leske
Reply | Threaded
Open this post in threaded view
|

Re: [SO] X-509 certificates

NorbertHartl
For everyone that does not know what X.509 means just read SSL instead of X.509 where it occurs.

I've uploaded a piece of code that is on my disk for too long. The project can be found in


The implementation is pretty basic. It only shows how the ASN.1 suite can be used to read something like a X.509 certificate. If some gets used to the object model beneath reading and creating structures like a X.509 certificate.

Reading can be done doing

X509 readCertificateFromPEM: '/path/to/pem/file.pem' asFileReference readStream

At the moment only PEM/BER format is supported. Others might come in the future.

FYI,

Norbert