Class UnsupportedSshPublicKey
java.lang.Object
org.apache.sshd.common.config.keys.UnsupportedSshPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey,SshPublicKey
A representation of an unsupported SSH public key -- just a key type and the raw key data.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]byte[]Retrieves the raw key bytes (serialized form).Retrieves the SSH key type.inthashCode()
-
Constructor Details
-
UnsupportedSshPublicKey
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getKeyType
Description copied from interface:SshPublicKeyRetrieves the SSH key type.- Specified by:
getKeyTypein interfaceSshPublicKey- Returns:
- the SSH key type, never
null.
-
getKeyData
public byte[] getKeyData()Retrieves the raw key bytes (serialized form).- Returns:
- the key bytes
-
hashCode
public int hashCode() -
equals
-