code: public static KeyPair newKeyPair(final File publicKeyDerFile, final File privateKeyDerFile)
  		throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchProviderException,
  		IOException
  	{
  		final PublicKey publicKey = PublicKeyReader.readPublicKey(publicKeyDerFile);
  		final PrivateKey privateKey = PrivateKeyReader.readPrivateKey(privateKeyDerFile);
  		return newKeyPair(publicKey, privateKey);
  	}
docs: Factory method for creating a new {@link KeyPair} from the given parameters.
  
  @param publicKeyDerFile
  the public key der file
  @param privateKeyDerFile
  the private key der file
  @return the new {@link KeyPair} from the given parameters.
  
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws NoSuchAlgorithmException
  is thrown if no Provider supports a KeyPairGeneratorSpi implementation for the
  specified algorithm
  @throws InvalidKeySpecException
  is thrown if generation of the SecretKey object fails.
  @throws NoSuchProviderException
  is thrown if the specified provider is not registered in the security provider
  list