Examples of listKeys()


Examples of com.valhalla.misc.GnuPG.listKeys()

            String command = tempSettings.getProperty("gpgApplication");
            if (command.equals("!!EMPTY!!"))
                command = "gpg";
            // check to make sure GnuPG is executable
            GnuPG gnupg = new GnuPG(command);
            boolean enabled = gnupg.listKeys("");
            if (!enabled) {
                Standard.warningMessage(prefs, "GnuPG Error",
                        "Invalid GPG path, GPG settings not applied.");
                tempSettings.setProperty("gpgApplication", Settings
                        .getInstance().getProperty("gpgApplication"));
View Full Code Here

Examples of com.valhalla.misc.GnuPG.listKeys()

     * Checks if GPG is enabled.
     */
    public static void checkGPG() {
        // check to make sure GnuPG is executable
        GnuPG gnupg = new GnuPG();
        gnupgEnabled = gnupg.listKeys("");
    }
   
    /**
     * Gets the discoveryCache attribute of the JBotherLoader class
     *
 
View Full Code Here

Examples of com.valhalla.misc.GnuPG.listKeys()

        }
        JBother.profileDir = JBother.settingsDir + File.separatorChar
                + "profiles" + File.separatorChar + profile;

        GnuPG gnupg = new GnuPG();
        JBotherLoader.setGPGEnabled(gnupg.listKeys(""));

        String fontString = Settings.getInstance().getProperty(
                "applicationFont");
        if (fontString == null) {
            fontString = "Default-PLAIN-12";
View Full Code Here

Examples of com.valhalla.misc.GnuPG.listKeys()

        GnuPG gnupg = new GnuPG();
        boolean res = false;
        if (type.equals("sec")) {
            res = gnupg.listSecretKeys("");
        } else {
            res = gnupg.listKeys("");
        }

        if (!res) {
            Standard.warningMessage(null, "Error running GnuPG",
                    "Error running GnuPG: " + gnupg.getErrorString());
View Full Code Here

Examples of edu.stanford.smi.protegex.owl.model.project.SettingsMap.listKeys()

        File pfile = model.getProject().getProjectFile();
       
        // copy settings
        SettingsMap settings = model.getOWLProject().getSettingsMap();
     
        for(Iterator i=settings.listKeys();i.hasNext();){
          String key = ""+i.next();
          map.put(key,settings.getString(key));
        }
       
        // dispose of object and file etc.
View Full Code Here

Examples of edu.stanford.smi.protegex.owl.model.project.SettingsMap.listKeys()

        File pfile = model.getProject().getProjectFile();
       
        // copy settings
        SettingsMap settings = model.getOWLProject().getSettingsMap();
     
        for(Iterator i=settings.listKeys();i.hasNext();){
          String key = ""+i.next();
          map.put(key,settings.getString(key));
        }
       
        // dispose of object and file etc.
View Full Code Here

Examples of org.apache.deltacloud.client.DeltaCloudClient.listKeys()

  public void canListKeys() throws DeltaCloudClientException {
    String id = String.valueOf(System.currentTimeMillis());
    DeltaCloudClient client = testSetup.getClient();
    try {
      final Key createdKey = client.createKey(id);
      List<Key> keys = client.listKeys();
      assertNotNull(keys);
      assertThat(keys, hasItem(new BaseMatcher<Key>() {

        @Override
        public boolean matches(Object item) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.