docs: public static void write(final PrivateKey privateKey, final @NonNull OutputStream outputStream)
  		throws IOException
  	{
  		final byte[] privateKeyBytes = privateKey.getEncoded();
  		final PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(privateKeyBytes);
  		outputStream.write(keySpec.getEncoded());
  		outputStream.close();
  	}