All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bdi.glue.ssh.common.SshIdentity Maven / Gradle / Ivy

package bdi.glue.ssh.common;

/**
 * @author @aloyer
 */
public class SshIdentity {
    private final String privateKeyPath;
    private final String passphrase;

    public SshIdentity(String privateKeyPath, String passphrase) {
        this.privateKeyPath = privateKeyPath;
        this.passphrase = passphrase;
    }

    public String getPrivateKeyPath() {
        return privateKeyPath;
    }

    public String getPassphrase() {
        return passphrase;
    }

    @Override
    public String toString() {
        return "SshIdentity{" +
                "privateKeyPath='" + privateKeyPath + '\'' +
                ", passphrase='" + passphrase + '\'' +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy