title: Differences between "BEGIN RSA PRIVATE KEY" and "BEGIN PRIVATE KEY"
body: <p>Hi I was writing a program that imports private keys from a <code>.pem</code> file and create a private key object to use it later..
  the problem I have faced is that some <code>pem</code> files header begin with </p>
  
  <pre><code>-----BEGIN PRIVATE KEY-----
  </code></pre>
  
  <p>while others begin with</p>
  
  <pre><code>-----BEGIN RSA PRIVATE KEY-----
  </code></pre>
  
  <p>through my search I knew that the first ones are <code>PKCS#8</code> formatted but I couldn't know what format does the other one belongs to.</p>