| java.lang.Object |
| ↳ |
java.lang.Enum<E extends java.lang.Enum<E>> |
| |
↳ |
net.schmizz.sshj.common.KeyType |
Class Overview
Type of key e.g. rsa, dsa
Summary
| Enum Values |
| KeyType |
DSA |
SSH identifier for DSA keys |
| KeyType |
RSA |
SSH identifier for RSA keys |
| KeyType |
UNKNOWN |
Unrecognized |
| Fields |
|
protected
final
String |
sType |
|
|
[Expand]
Inherited Fields |
From class
java.lang.Enum
|
private
final
String |
name |
|
|
private
final
int |
ordinal |
|
|
| Protected Methods |
|
abstract
boolean
|
isMyType(Key key)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Enum
|
final
Object
|
clone()
|
|
int
|
compareTo(Object arg0)
|
|
final
int
|
compareTo(E arg0)
|
|
final
boolean
|
equals(Object arg0)
|
|
final
void
|
finalize()
|
|
final
Class<E>
|
getDeclaringClass()
|
|
final
int
|
hashCode()
|
|
final
String
|
name()
|
|
final
int
|
ordinal()
|
|
String
|
toString()
|
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.lang.Comparable
|
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
public
static
final
KeyType
DSA
SSH identifier for DSA keys
public
static
final
KeyType
RSA
SSH identifier for RSA keys
public
static
final
KeyType
UNKNOWN
Fields
protected
final
String
sType
Public Methods
public
static
KeyType
fromKey
(Key key)
public
static
KeyType
fromString
(String sType)
public
abstract
void
putPubKeyIntoBuffer
(PublicKey pk, Buffer<?> buf)
public
abstract
PublicKey
readPubKeyFromBuffer
(String type, Buffer<?> buf)
public
String
toString
()
public
static
KeyType
valueOf
(String name)
Protected Methods
protected
abstract
boolean
isMyType
(Key key)