code: @Deprecated
      public KeyStore loadPKCS12File(String pathToP12, String password) throws CertificateException, IOException {
          try (InputStream keystoreInputStream = CertUtils.toInputStream(pathToP12)) {
              return loadPKCS12File(keystoreInputStream, password);
          }
      }
docs: Load PKCS12 keystore file from file (will try to load it from the classpath)
  
  @param pathToP12
  path to PKCS 12 file (on the filesystem or classpath)
  @param password
  password to access the key store
  @return Key store loaded from the provided files
  @throws IOException
  @throws CertificateException
  @throws IllegalArgumentException
  @deprecated