OpenShift Java Client 2.5.0.Final

com.openshift.client
Interface ISSHPublicKey

All Known Subinterfaces:
IOpenShiftSSHKey
All Known Implementing Classes:
AbstractSSHKey, SSHKeyPair, SSHKeyResource, SSHPublicKey

public interface ISSHPublicKey

Author:
André Dietisheim

Method Summary
 SSHKeyType getKeyType()
          Returns the type of the key (ssh-rsa or ssh-dss)
 String getPublicKey()
          Returns the content of the public key (key content without ssh-rsa identifier nor comment) of the ssh key
 

Method Detail

getPublicKey

String getPublicKey()
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)
Throws:
OpenShiftException

getKeyType

SSHKeyType getKeyType()
Returns the type of the key (ssh-rsa or ssh-dss)

Returns:
the type of key, either ssh-rsa or ssh-dss
Throws:
OpenShiftException

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.