All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.sqlserver.jdbc.SQLServerBouncyCastleLoader Maven / Gradle / Ivy

package com.microsoft.sqlserver.jdbc;

import java.security.Security;

/*
 * Class that is meant to statically load the BouncyCastle Provider for JDK 8. Hides the call so JDK 11/13 don't have to include the dependency.
 */
class SQLServerBouncyCastleLoader {
    static void loadBouncyCastle() {
        Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy