String[] dummy = {""}; Collection certprofilenames = (Collection) this.informationmemory.getAuthorizedEndEntityCertificateProfileNames().keySet(); if(certprofilenames == null) return new String[0]; else
String[] dummy = {""}; Collection certprofilenames = this.informationmemory.getAuthorizedEndEntityCertificateProfileNames().keySet(); if(certprofilenames == null) return new String[0];
    public String[] getCertificateProfileNames(){      String[] dummy = {""};      Collection certprofilenames = (Collection) this.informationmemory.getAuthorizedEndEntityCertificateProfileNames().keySet();      if(certprofilenames == null)        return new String[0];      else        return (String[]) certprofilenames.toArray(dummy);    }