Files
codeql/java/ql/test/stubs/trilead-ssh2-212/com/trilead/ssh2/Connection.java
2022-08-13 12:39:15 +01:00

47 lines
1.0 KiB
Java
Generated

package com.trilead.ssh2;
import java.io.File;
import java.io.IOException;
public class Connection
{
public synchronized boolean authenticateWithDSA(String user, String pem, String password) throws IOException
{
return true;
}
public synchronized boolean authenticateWithPassword(String user, String password) throws IOException
{
return true;
}
public synchronized boolean authenticateWithNone(String user) throws IOException
{
return true;
}
public synchronized boolean authenticateWithPublicKey(String user, char[] pemPrivateKey, String password)
throws IOException
{
return true;
}
public synchronized boolean authenticateWithPublicKey(String user, File pemFile, String password)
throws IOException
{
return true;
}
public synchronized String[] getRemainingAuthMethods(String user) throws IOException
{
return null;
}
public synchronized boolean isAuthMethodAvailable(String user, String method) throws IOException
{
return true;
}
}