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