private static ClassLoader getClassLoaderForClass(Class<?> c) {
    ClassLoader cl = Thread.currentThread().getContextClassLoader();
    if (cl == null) {
      cl = c.getClassLoader();
    }
    if (cl == null) {
      cl = ClassLoader.getSystemClassLoader();
    }
    if (cl == null) {
      throw new EncryptDecryptException("A ClassLoader to load the class could not be determined.");
    }
    return cl;
  }
load encrypt provider class for encrypt or decrypt password.

@param providerClassName encrypt class name
@param providerParameter provider parameter
@return AsymmetricEncrypt instance
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/security/encrypt/AsymmetricEncryptFactory.java