public class KeyPairECDSA extends KeyPair
| Constructor and Description |
|---|
KeyPairECDSA(JSch jsch) |
KeyPairECDSA(JSch jsch,
byte[] pubkey) |
KeyPairECDSA(JSch jsch,
byte[] name,
byte[] r_array,
byte[] s_array,
byte[] prv_array) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
byte[] |
forSSHAgent() |
int |
getKeySize() |
int |
getKeyType() |
byte[] |
getPublicKeyBlob()
Returns the blob of the public key.
|
byte[] |
getSignature(byte[] data) |
byte[] |
getSignature(byte[] data,
java.lang.String al) |
Signature |
getVerifier() |
Signature |
getVerifier(java.lang.String alg) |
decrypt, decrypt, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKeypublic KeyPairECDSA(JSch jsch)
public KeyPairECDSA(JSch jsch, byte[] pubkey)
public KeyPairECDSA(JSch jsch, byte[] name, byte[] r_array, byte[] s_array, byte[] prv_array)
public byte[] getPublicKeyBlob()
KeyPairgetPublicKeyBlob in class KeyPairpublic int getKeyType()
getKeyType in class KeyPairpublic int getKeySize()
public byte[] getSignature(byte[] data)
getSignature in class KeyPairpublic byte[] getSignature(byte[] data,
java.lang.String al)
getSignature in class KeyPairpublic Signature getVerifier()
getVerifier in class KeyPairpublic Signature getVerifier(java.lang.String alg)
getVerifier in class KeyPairpublic byte[] forSSHAgent()
throws JSchException
forSSHAgent in class KeyPairJSchExceptionCopyright © 2020 JCraft,Inc.. All Rights Reserved.