public class SshKeyUtils extends SshKeyUtils
Constructor and Description |
---|
SshKeyUtils() |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
getHostKey(String hostname,
int port) |
static SshPublicKey |
getHostKey(String hostname,
int port,
String algorithm) |
static String[] |
getSupportedHostKeyAlgorithms(String hostname,
int port) |
static Set<SshPublicKey> |
getSupportedHostKeys(String hostname,
int port) |
decrypt, decrypt, decryptOAEP, encrypt, encrypt, encryptOAEP, getBubbleBabble, getCertificate, getCertificate, getCertificate, getCertificate, getFingerprint, getFormattedKey, getFormattedKey, getOpenSSHFormattedKey, getOpenSSHFormattedKey, getPrivateKey, getPrivateKey, getPrivateKey, getPrivateKeyOrCertificate, getPublicKey, getPublicKey, getPublicKey, getPublicKeyComment, getRSAPrivateKeyWithSHA256Signature, getRSAPrivateKeyWithSHA256Signature, getRSAPrivateKeyWithSHA256Signature, getRSAPrivateKeyWithSHA512Signature, getRSAPrivateKeyWithSHA512Signature, getRSAPrivateKeyWithSHA512Signature, makeRSAWithSHA256Signature, makeRSAWithSHA512Signature, saveCertificate, savePrivateKey
public static SshPublicKey getHostKey(String hostname, int port) throws SshException
SshException
public static Set<SshPublicKey> getSupportedHostKeys(String hostname, int port) throws SshException, IOException
SshException
IOException
public static String[] getSupportedHostKeyAlgorithms(String hostname, int port) throws SshException, IOException
SshException
IOException
public static SshPublicKey getHostKey(String hostname, int port, String algorithm) throws SshException, IOException
SshException
IOException
Copyright © 2024. All rights reserved.