Hi, i have application with client-server architecture.
client (C program):
- generate various DER encoded data
- convert DER to PEM (using openssl's PEM_write_bio) with various PEM header
- send PEM to server
server (Perl script):
- receive PEM data
- convert PEM to DER
- ....
My question is how to convert various PEM data to DER/BER (binary data) in perl?