Constructor and Description |
---|
KeyPairPKCS8(JSch jsch) |
Modifier and Type | Method and Description |
---|---|
boolean |
decrypt(byte[] _passphrase)
decrypts the private key, using a passphrase.
|
byte[] |
forSSHAgent() |
int |
getKeySize() |
int |
getKeyType()
returns the type of the keys in this keypair,
which is one of
KeyPair.RSA and KeyPair.DSA . |
byte[] |
getPublicKeyBlob()
Returns the blob of the public key.
|
byte[] |
getSignature(byte[] data) |
Signature |
getVerifier() |
decrypt, dispose, finalize, genKeyPair, genKeyPair, getFingerPrint, getPublicKeyComment, isEncrypted, load, load, load, setPassphrase, setPassphrase, setPublicKeyComment, writePrivateKey, writePrivateKey, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey
public KeyPairPKCS8(JSch jsch)
public byte[] getPublicKeyBlob()
KeyPair
getPublicKeyBlob
in class KeyPair
public int getKeyType()
KeyPair
KeyPair.RSA
and KeyPair.DSA
.getKeyType
in class KeyPair
public int getKeySize()
public byte[] getSignature(byte[] data)
getSignature
in class KeyPair
public Signature getVerifier()
getVerifier
in class KeyPair
public byte[] forSSHAgent() throws JSchException
forSSHAgent
in class KeyPair
JSchException
This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.