Changeset 7470


Ignore:
Timestamp:
Apr 9, 2018, 8:06:30 AM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #2111: Include BouncyCastle? with BASE core

Added BouncyCastle and related JAR files.

Location:
trunk
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.classpath

    r7415 r7470  
    3434  <classpathentry kind="lib" path="lib/dist/yauaa-2.2.jar"/>
    3535  <classpathentry kind="lib" path="lib/dist/commons-validator-1.6.jar"/>
     36  <classpathentry kind="lib" path="lib/dist/bcprov-jdk15on-159.jar"/>
    3637  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
    3738  <classpathentry kind="output" path="xbin"/>
  • trunk/doc/3rd-party-components.txt

    r7411 r7470  
    208208Jar files : None. Distributed as source only. All code is in net/sf/basedb/util/bcrypt/BCrypt.java
    209209
     210
     211BouncyCastle
     212------------
     213Cryptographic provider package
     214
     215More info : https://www.bouncycastle.org/java.html
     216Version   : 159
     217License   : bcp-license.txt
     218Jar files : bcpkix-jdk15on-159.jar, bcprov-jdk15on-159.jar, bctls-jdk15on-159.jar, eddsa-0.2.0-jar
     219
     220
    210221JSON.simple
    211222-----------
  • trunk/src/core/net/sf/basedb/core/Application.java

    r7409 r7470  
    5858import java.util.regex.Pattern;
    5959import java.net.InetAddress;
     60import java.security.Security;
    6061import java.sql.Connection;
    6162import java.sql.DatabaseMetaData;
    6263import java.sql.SQLException;
    6364
     65import org.bouncycastle.jce.provider.BouncyCastleProvider;
    6466import org.hibernate.jdbc.ReturningWork;
    6567
     
    562564        RawDataTypes.initPlatforms(null);
    563565 
     566        // BouncyCastle
     567        if (Security.getProvider("BC") == null) Security.addProvider(new BouncyCastleProvider());
     568       
    564569        // Initialize extensions system
    565570        boolean extensionsAreDisabled = Config.getBoolean("extensions.disabled");
Note: See TracChangeset for help on using the changeset viewer.