Package com.jcraft.jsch
Class KeyPairEdDSA
java.lang.Object
com.jcraft.jsch.KeyPair
com.jcraft.jsch.KeyPairEdDSA
- Direct Known Subclasses:
KeyPairEd25519,KeyPairEd448
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]byte[]Returns the blob of the public key.byte[]getSignature(byte[] data) byte[]getSignature(byte[] data, String alg) getVerifier(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
-
Constructor Details
-
KeyPairEdDSA
-
-
Method Details
-
getPublicKeyBlob
public byte[] getPublicKeyBlob()Description copied from class:KeyPairReturns the blob of the public key.- Overrides:
getPublicKeyBlobin classKeyPair- Returns:
- blob of the public key
-
getSignature
public byte[] getSignature(byte[] data) - Specified by:
getSignaturein classKeyPair
-
getSignature
- Specified by:
getSignaturein classKeyPair
-
getVerifier
- Specified by:
getVerifierin classKeyPair
-
getVerifier
- Specified by:
getVerifierin classKeyPair
-
forSSHAgent
- Specified by:
forSSHAgentin classKeyPair- Throws:
JSchException
-
dispose
public void dispose()
-