com.openshift.internal.client.ssh
Class AbstractSSHKey
java.lang.Object
  
com.openshift.internal.client.ssh.AbstractSSHKey
- All Implemented Interfaces: 
 - ISSHPublicKey
 
- Direct Known Subclasses: 
 - SSHKeyPair, SSHPublicKey
 
public abstract class AbstractSSHKey
- extends Object
- implements ISSHPublicKey
  
- Author:
 
  - Andre Dietisheim
 
 
 
 
 
AbstractSSHKey
protected AbstractSSHKey(SSHKeyType sshKeyType)
getKeyType
public SSHKeyType getKeyType()
- Description copied from interface: 
ISSHPublicKey 
- Returns the type of the key (ssh-rsa or ssh-dss)
- Specified by:
 getKeyType in interface ISSHPublicKey
 
- Returns:
 - the type of key, either ssh-rsa or ssh-dss
 
 
 
setKeyType
protected void setKeyType(String keyTypeId)
                   throws OpenShiftUnknonwSSHKeyTypeException
 
- Throws:
 OpenShiftUnknonwSSHKeyTypeException
 
setKeyType
protected void setKeyType(SSHKeyType keyType)
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
equals
public boolean equals(Object obj)
- Overrides:
 equals in class Object
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.