Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Forum Post: RE: Use RSA Private Key in script?

$
0
0
The private key is coming from a .pem file, read in with the function PEM_read_RSAPrivateKey(pointerToFile, null, null,  null) defined in the libeay32.dll file. I've been reading in to the structured data type stuff, I think I'm starting to understand it, but now I'm hitting against another issue that you could perhaps clarify for me. Based on my working Loadrunner script, which calls an RSA_Size() function to display the size of the private key, its using 256 bytes of memory. Setting a string to that size in Silk Performer doesn't solve the issue on its own, so I assume I need to use functions like SetLong() etc. to replicate the data structure from the C code. The problem is that some of the variables within the structure use something called BIGNUM , the point of which seems to be to have a variable data size. So am I going to have to figure out exactly what size every single variable inside the data structure is using in order to make use of it in Silk Performer?

Viewing all articles
Browse latest Browse all 4084


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>