title: Convert certificate to byte array
body: <p>How to convert a certificate(PEM/DER format) into byte array?</p>
  
  <p>I don't have file system on my device and want to use the client certificate on it. So I want to copy this SSL certificate into a buffer(unsigned char). I have certificate file on my windows machine.</p>
  
  <p>What is the right way to convert the certificate into array? Simple character copy will work?</p>
  
  <p>Vishal N</p>