title: Which algorithm is used by the Google Service Account to generate private_key?
body: <p>I have a use case to generate the private_key as it is generated by Google Cloud Platform service account as private_key field.
  I am certain that it uses RSA algorithm. What else does it use? How can I manually create similar private key in Java?
  (Used Bouncycastle library but no use so far but it says Unable to initialize, java.io.IOException: Short read of DER length)</p>