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

http://smalltalkhub.com/#!/~NorbertHartl/X509

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

Am 30.08.2016 um 07:00 schrieb Max Leske <maxleske@gmail.com>:

http://stackoverflow.com/questions/39210105/x-509-certificate-operations-with-pharo-smalltalk