public void cloneHardTokenIssuer(String oldalias, String newalias, String newcertificatesn, String newcertissuerdn) throws HardTokenIssuerExistsException, RemoteException{ if(informationmemory.authorizedToHardTokenIssuer(oldalias)){ newcertificatesn = StringTools.stripWhitespace(newcertificatesn); if(!hardtokensession.cloneHardTokenIssuer(admin, oldalias, newalias, new BigInteger(newcertificatesn,16), newcertissuerdn))
public void cloneHardTokenIssuer(String oldalias, String newalias, int newadmingroupid) throws HardTokenIssuerExistsException, RemoteException{ if(informationmemory.authorizedToHardTokenIssuer(oldalias)){ if(!hardtokensession.cloneHardTokenIssuer(admin, oldalias, newalias, newadmingroupid))
    public void cloneHardTokenIssuer(String oldalias, String newalias, String newcertificatesn, String newcertissuerdn) throws HardTokenIssuerExistsException, RemoteException{	  if(informationmemory.authorizedToHardTokenIssuer(oldalias)){    	        newcertificatesn = StringTools.stripWhitespace(newcertificatesn);        if(!hardtokensession.cloneHardTokenIssuer(admin, oldalias, newalias, new BigInteger(newcertificatesn,16), newcertissuerdn))          throw new HardTokenIssuerExistsException();                informationmemory.hardTokenDataEdited();	  }    }