com.jcraft.jsch
Class KeyPairECDSA
java.lang.Object
com.jcraft.jsch.KeyPair
com.jcraft.jsch.KeyPairECDSA
public class KeyPairECDSA
- extends KeyPair
| Methods inherited from class com.jcraft.jsch.KeyPair |
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey |
KeyPairECDSA
public KeyPairECDSA(JSch jsch)
KeyPairECDSA
public KeyPairECDSA(JSch jsch,
byte[] name,
byte[] r_array,
byte[] s_array,
byte[] prv_array)
getPublicKeyBlob
public byte[] getPublicKeyBlob()
- Description copied from class:
KeyPair
- Returns the blob of the public key.
- Overrides:
getPublicKeyBlob in class KeyPair
- Returns:
- blob of the public key
getKeyType
public int getKeyType()
- Specified by:
getKeyType in class KeyPair
getKeySize
public int getKeySize()
getSignature
public byte[] getSignature(byte[] data)
- Specified by:
getSignature in class KeyPair
getVerifier
public Signature getVerifier()
- Specified by:
getVerifier in class KeyPair
forSSHAgent
public byte[] forSSHAgent()
throws JSchException
- Specified by:
forSSHAgent in class KeyPair
- Throws:
JSchException
dispose
public void dispose()
- Overrides:
dispose in class KeyPair
Copyright © 2016 JCraft,Inc.. All Rights Reserved.