class ConfiguredPrivateKeyPasswordProvider implements PrivateKeyPasswordProvider {

  @Override
  public char[] retrievePrivateKeyPassword() throws PasswordException {
    if (pkPassword == null && !isEmpty(encodedPassword)) {
      pkPassword = Password.decode(ExternalResolver.resolve(encodedPassword)).toCharArray();
    }
    return pkPassword;
  }

  public  ConfiguredPrivateKeyPasswordProvider();
  public  ConfiguredPrivateKeyPasswordProvider(String encPassword);

}