com.openshift.client
Class SSHPublicKey
java.lang.Object
com.openshift.internal.client.ssh.AbstractSSHKey
com.openshift.client.SSHPublicKey
- All Implemented Interfaces:
- ISSHPublicKey
public class SSHPublicKey
- extends AbstractSSHKey
- Author:
- André Dietisheim
Method Summary |
String |
getPublicKey()
Returns the content of the public key (key content without ssh-rsa
identifier nor comment) of the ssh key |
SSHPublicKey
public SSHPublicKey(String publicKeyFilePath)
throws FileNotFoundException,
OpenShiftException,
IOException
- Throws:
FileNotFoundException
OpenShiftException
IOException
SSHPublicKey
public SSHPublicKey(File publicKeyFile)
throws FileNotFoundException,
OpenShiftException,
IOException
- Throws:
FileNotFoundException
OpenShiftException
IOException
getPublicKey
public String getPublicKey()
- Description copied from interface:
ISSHPublicKey
- Returns the content of the public key (key content without ssh-rsa
identifier nor comment) of the ssh key
- Returns:
- the content of the public key (without signature, without
comment)
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.