docs: public static byte[] toPKCS1Format(final PrivateKey privateKey) throws IOException
  	{
  		final byte[] encoded = privateKey.getEncoded();
  		final PrivateKeyInfo privateKeyInfo = PrivateKeyInfo.getInstance(encoded);
  		final ASN1Encodable asn1Encodable = privateKeyInfo.parsePrivateKey();
  		final ASN1Primitive asn1Primitive = asn1Encodable.toASN1Primitive();
  		final byte[] privateKeyPKCS1Formatted = asn1Primitive.getEncoded();
  		return privateKeyPKCS1Formatted;
  	}