//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package oracle.jdbc;
import java.io.ByteArrayOutputStream;
import javax.crypto.Cipher;
import oracle.jdbc.driver.BuildInfo;
import oracle.jdbc.logging.annotations.DefaultLogger;
import oracle.jdbc.logging.annotations.Feature;
import oracle.jdbc.logging.annotations.Supports;
@Supports({Feature.METADATA})
@DefaultLogger("oracle.jdbc")
public class OracleDriver extends oracle.jdbc.driver.OracleDriver {
public OracleDriver() {
}
public static final boolean isDMS() {
return BuildInfo.isDMS();
}
public static final boolean isInServer() {
return BuildInfo.isInServer();
}
/** @deprecated */
public static final boolean isJDK14() {
return BuildInfo.isJDK14();
}
public static final boolean isDebug() {
return BuildInfo.isDebug();
}
public static final boolean isPrivateDebug() {
return BuildInfo.isPrivateDebug();
}
public static final String getJDBCVersion() {
return BuildInfo.getJDBCVersion();
}
public static final String getDriverVersion() {
return BuildInfo.getDriverVersion();
}
public static final String getBuildDate() {
return BuildInfo.getBuildDate();
}
public static void main(String[] var0) throws Exception {
System.out.println("Oracle " + getDriverVersion() + " " + getJDBCVersion() + (isDMS() ? " DMS" : "") + (isPrivateDebug() ? " private" : "") + (isDebug() ? " debug" : "") + (isInServer() ? " for JAVAVM" : "") + " compiled with " + BuildInfo.getCompilerVersion() + " on " + getBuildDate());
ByteArrayOutputStream var1 = new ByteArrayOutputStream(128);
DEFAULT_CONNECTION_PROPERTIES.store(var1, "Default Connection Properties Resource");
System.out.println(var1.toString("ISO-8859-1"));
int var2 = Cipher.getMaxAllowedKeyLength("AES");
if (var2 < 256) {
System.out.println("***** JCE UNLIMITED STRENGTH NOT INSTALLED ****");
} else {
System.out.println("***** JCE UNLIMITED STRENGTH IS INSTALLED ****");
}
}
}
Comments
0 B
|👍
/👎