Package com.jcraft.jsch
Class KeyPairEdDSA
java.lang.Object
com.jcraft.jsch.KeyPair
com.jcraft.jsch.KeyPairEdDSA
- Direct Known Subclasses:
KeyPairEd25519
,KeyPairEd448
public abstract class KeyPairEdDSA extends KeyPair
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KeyPairEdDSA(JSch jsch, byte[] pub_array, byte[] prv_array)
-
Method Summary
Modifier and Type Method Description void
dispose()
byte[]
forSSHAgent()
byte[]
getPublicKeyBlob()
Returns the blob of the public key.byte[]
getSignature(byte[] data)
byte[]
getSignature(byte[] data, java.lang.String alg)
Signature
getVerifier()
Signature
getVerifier(java.lang.String alg)
Methods inherited from class com.jcraft.jsch.KeyPair
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getKeyType, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KeyPairEdDSA
-
-
Method Details
-
getPublicKeyBlob
public byte[] getPublicKeyBlob()Description copied from class:KeyPair
Returns the blob of the public key.- Overrides:
getPublicKeyBlob
in classKeyPair
- Returns:
- blob of the public key
-
getSignature
public byte[] getSignature(byte[] data)- Specified by:
getSignature
in classKeyPair
-
getSignature
public byte[] getSignature(byte[] data, java.lang.String alg)- Specified by:
getSignature
in classKeyPair
-
getVerifier
- Specified by:
getVerifier
in classKeyPair
-
getVerifier
- Specified by:
getVerifier
in classKeyPair
-
forSSHAgent
- Specified by:
forSSHAgent
in classKeyPair
- Throws:
JSchException
-
dispose
public void dispose()
-