EldoS | Feel safer!

Software components for data protection, secure storage and transfer

cryptoAPI windows SBB JAVA 10

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#21638
Posted: 09/20/2012 05:05:06
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

It is possible to call cryptoAPI windows functions in the SBB JAVA 10 version ?
I need to import certificate, show certificate....

I found classes with methods of cryptoapi but the input and output parameters are not known and not documented.

thanks
luis ricardo
#21640
Posted: 09/20/2012 05:11:21
by Eugene Mayevski (EldoS Corp.)

Yes, what you need is possible, you just need to initialize JNI interface. Samples have been updated to show how to use CryptoAPI from Java.

As the code base is the same, parameters are nearly identical to parameters of .NET API so for now you can use .NET api description. We will update docs with Java declarations and descriptions, but this needs time for automating (to write some code parser).


Sincerely yours
Eugene Mayevski
#21641
Posted: 09/20/2012 05:14:51
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

thanks Eugene.
#21643
Posted: 09/20/2012 06:09:14
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

In SBB 10 JAVA the SBWinCrypt class there are a lot of CryptoAPI functions but in the SBB 10 .NET SBWinCrypt class dont have all the functions....

There are another class in the .NET to call cryptoAPI functions?
#21644
Posted: 09/20/2012 06:14:26
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

Sorry, found in SBWinCrypt.__Global


thanks for help
#21649
Posted: 09/20/2012 10:32:54
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

In the method SBWinCrypt.__Global.CryptUIDlgViewCertificate i need the System.IntPTR from SBWinCrypt.CRYPTUI_VIEWCERTIFICATE_STRUCT

How can i get the System.IntPTR from SBWinCrypt.CRYPTUI_VIEWCERTIFICATE_STRUCT?



VB.NET SBB 10

thanks
luis ricardo
#21652
Posted: 09/20/2012 10:43:48
by Vsevolod Ievgiienko (EldoS Corp.)

Why do you want to use CryptUIDlgViewCertificate directly? You can use TElX509Certificate.View that will do all low-level job for you.
#21653
Posted: 09/20/2012 10:50:15
by luis ricardo costa (Standard support level)
Joined: 01/26/2012
Posts: 6

Sorry...already done in view method...

But could you show me how to call directly?

thanks for help
#21655
Posted: 09/20/2012 10:53:59
by Vsevolod Ievgiienko (EldoS Corp.)

Please refer to the source code (SBX509.pas) because SBWinCrypt is undocumented internal part of SecureBlackbox.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 846 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!