public class KeyPairPKCS8 extends KeyPair
| Constructor | Description |
|---|---|
KeyPairPKCS8(JSch jsch) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
decrypt(byte[] _passphrase) |
|
byte[] |
forSSHAgent() |
|
int |
getKeySize() |
|
int |
getKeyType() |
|
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, writeSECSHPublicKeypublic KeyPairPKCS8(JSch jsch)
public byte[] getPublicKeyBlob()
KeyPairgetPublicKeyBlob in class KeyPairpublic int getKeyType()
getKeyType in class KeyPairpublic int getKeySize()
public byte[] getSignature(byte[] data)
getSignature in class KeyPairpublic Signature getVerifier()
getVerifier in class KeyPairpublic byte[] forSSHAgent()
throws JSchException
forSSHAgent in class KeyPairJSchException