can I use JNI/JNA to work with libcrypto-3-x64.dll?

45 Views Asked by At

I have install OPENSSL in my computer, and there is a file named "libcrypto-3-x64.dll" in my "system32" folder.

Can I use JNI or JNA to work with libcrypto-3-x64.dll ?

I can use JNI to work with a dll which maked by myself (just hello world).

I can use JNA to work with win32 API, but how can I work with libcrypto-3-x64.dll ?

I dumped the method names of libcrypto-3-x64.dll like below:

Dump of file libcrypto-3-x64.dll

File Type: DLL

  Section contains the following exports for libcrypto-3-x64.dll

    00000000 characteristics
    FFFFFFFF time date stamp
        0.00 version
           1 ordinal base
        5382 number of functions
        5382 number of names

    ordinal hint RVA      name

          1    0 000079FF ACCESS_DESCRIPTION_free
          2    1 000056C3 ACCESS_DESCRIPTION_it
          3    2 000049AD ACCESS_DESCRIPTION_new
          4    3 0000370B ADMISSIONS_free
          5    4 00001CCB ADMISSIONS_get0_admissionAuthority
          6    5 00005272 ADMISSIONS_get0_namingAuthority
          7    6 000072D9 ADMISSIONS_get0_professionInfos
          8    7 00007B5D ADMISSIONS_it
          9    8 00002176 ADMISSIONS_new
...

but don't know how to use it, maybe I can't use it ?

0

There are 0 best solutions below