public class SSHPublicKey extends AbstractSSHKey
Constructor and Description |
---|
SSHPublicKey(File publicKeyFile) |
SSHPublicKey(String publicKeyFilePath) |
Modifier and Type | Method and Description |
---|---|
String |
getPublicKey()
Returns the content of the public key (key content without ssh-rsa
identifier nor comment) of the ssh key
|
equals, getKeyType, hashCode, setKeyType, setKeyType, toString
public SSHPublicKey(String publicKeyFilePath) throws FileNotFoundException, OpenShiftException, IOException
public SSHPublicKey(File publicKeyFile) throws FileNotFoundException, OpenShiftException, IOException
public String getPublicKey()
ISSHPublicKey
Copyright © 2019 JBoss by Red Hat. All rights reserved.