title: Read an encrypted private key with bouncycastle/spongycastle
body: <p>I have a password protected, encrypted RSA private key, which was created with PyCrypto (2.6.1) and has according to their docs the following format: <code>PrivateKeyInfo, PKCS#8 (DER SEQUENCE), PEM (RFC1423)</code>, see 
  [<a href="https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.RSA._RSAobj-class.html#exportKey]" rel="noreferrer">https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.RSA._RSAobj-class.html#exportKey]</a>.</p>
  
  <p>How can I decrypt this RSA key with Bouncycastle/Spongycastle?</p>
  
  <p>I've searched Google for quite a long time and only came up with results, that either won't work with version 1.50 (because PEMReader was deprecated and got removed) or with examples of PEMParser who seems to could not read this format. BTW: Is there any documentation on Bouncycastle I missed? </p>
  
  <p>This is the header of my encrypted private key:</p>
  
  <pre><code>-----BEGIN PRIVATE KEY-----
  Proc-Type: 4,ENCRYPTED
  DEK-Info: DES-EDE3-CBC,68949227DD8A502D
  xyz...
  </code></pre>
  
  <p>I would really be thankful, if anyone could help me out!</p>