Class KeyPairIdentity
java.lang.Object
org.apache.sshd.client.auth.pubkey.KeyPairIdentity
- All Implemented Interfaces:
org.apache.sshd.client.auth.pubkey.PublicKeyIdentity, org.apache.sshd.common.signature.SignatureFactoriesHolder
public class KeyPairIdentity
extends Object
implements org.apache.sshd.client.auth.pubkey.PublicKeyIdentity, org.apache.sshd.common.signature.SignatureFactoriesHolder
Uses a
KeyPair to generate the identity signature- Author:
- Apache MINA SSHD Project
-
Constructor Summary
ConstructorsConstructorDescriptionKeyPairIdentity(org.apache.sshd.common.signature.SignatureFactoriesManager primary, org.apache.sshd.common.signature.SignatureFactoriesManager secondary, KeyPair pair) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesHolder
getSignatureFactoriesNameList, getSignatureFactoriesNames
-
Constructor Details
-
KeyPairIdentity
public KeyPairIdentity(org.apache.sshd.common.signature.SignatureFactoriesManager primary, org.apache.sshd.common.signature.SignatureFactoriesManager secondary, KeyPair pair)
-
-
Method Details
-
getKeyIdentity
- Specified by:
getKeyIdentityin interfaceorg.apache.sshd.client.auth.pubkey.PublicKeyIdentity
-
getSignatureFactories
public List<org.apache.sshd.common.NamedFactory<org.apache.sshd.common.signature.Signature>> getSignatureFactories()- Specified by:
getSignatureFactoriesin interfaceorg.apache.sshd.common.signature.SignatureFactoriesHolder
-
sign
-
toString
-