Uses of Class
com.sshtools.common.publickey.InvalidPassphraseException
Packages that use InvalidPassphraseException
-
Uses of InvalidPassphraseException in com.sshtools.common.publickey
Methods in com.sshtools.common.publickey that throw InvalidPassphraseExceptionModifier and TypeMethodDescriptionvoidOpenSSHPrivateKeyFile.changePassphrase(String oldpassphrase, String newpassphrase) voidSshPrivateKeyFile.changePassphrase(String oldpassphrase, String newpassprase) Change the passphrase of the key file.static voidSshPrivateKeyFileFactory.changePassphrase(File keyFile, String passphrase, String newPassphrase) Take a file in any of the supported public key formats and convert to the requested format.static voidSshPrivateKeyFileFactory.convertFile(File keyFile, String passphrase, int toFormat, File toFile) Take a file in any of the supported public key formats and convert to the requested format.static SshCertificateSshKeyUtils.getCertificate(File privateKey, String passphrase) static SshCertificateSshKeyUtils.getCertificate(File privateKey, String passphrase, File certFile) static SshCertificateSshKeyUtils.getCertificate(InputStream privateKey, String passphrase, InputStream certFile) static SshCertificateSshKeyUtils.getCertificate(String privateKey, String passphrase, String certFile) static SshKeyPairSshKeyUtils.getCertificateAndKey(File privateKey, String passphrase) static SshKeyPairSshKeyUtils.getPrivateKey(File key) static SshKeyPairSshKeyUtils.getPrivateKey(File key, PassphrasePrompt prompt) static SshKeyPairSshKeyUtils.getPrivateKey(File key, String passphrase) static SshKeyPairSshKeyUtils.getPrivateKey(InputStream key, String passphrase) static SshKeyPairSshKeyUtils.getPrivateKey(String formattedKey, PassphrasePrompt prompt) static SshKeyPairSshKeyUtils.getPrivateKey(String formattedKey, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA256Signature(File key, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA256Signature(InputStream key, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA256Signature(String formattedKey, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA512Signature(File key, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA512Signature(InputStream key, String passphrase) static SshKeyPairSshKeyUtils.getRSAPrivateKeyWithSHA512Signature(String formattedKey, String passphrase) Decode the private key using the users passphrase.