public String getAlgorithm() { return keyPair.getKeyType() == KeyPair.DSA ? SshConfiguration.PUBLIC_KEY_SSHDSA : SshConfiguration.PUBLIC_KEY_SSHRSA; }
public int getKeyType() { return kpair.getKeyType(); }
public int getKeyType(){return kpair.getKeyType();}
public int getKeyType(){return kpair.getKeyType();}
public int getKeyType(){return kpair.getKeyType();}
public static SSHKeyType getByJSchKeyType(KeyPair keyPair) throws OpenShiftUnknonwSSHKeyTypeException { Assert.notNull(keyPair); return getByJSchKeyType(keyPair.getKeyType()); }
public static SSHKeyType getByJSchKeyType(KeyPair keyPair) throws OpenShiftUnknownSSHKeyTypeException { Assert.notNull(keyPair); return getByJSchKeyType(keyPair.getKeyType()); }