Hi,
I have a program to digitally sign records for tax porposes.
The program uses Qshell's Openssl and although it works it is quite slow with many records to sign. On average I have about 70,000 records with peaks of 90,000.
My CL:
QSH CMD('openssl dgst -sha1 -sign "$_KeyPrivFile" +
-out "$_Hash1" "$_Record" ; openssl enc +
-base64 -in "$_Hash1" -out "$_Hashb64" -A')
$_KeyPrivFile is my RSA Private File on IFS
$_Hash1 is the Hash in Binary
$_Record is my string that i want to Sign.
$_Hashb64 is the Hash in base64 encoding
I'm looking for some API or RPG/RPGLE program to replace OpenSSL.
Can anyone indicate the right API or post an example (OS V7R3)?
I have a program to digitally sign records for tax porposes.
The program uses Qshell's Openssl and although it works it is quite slow with many records to sign. On average I have about 70,000 records with peaks of 90,000.
My CL:
QSH CMD('openssl dgst -sha1 -sign "$_KeyPrivFile" +
-out "$_Hash1" "$_Record" ; openssl enc +
-base64 -in "$_Hash1" -out "$_Hashb64" -A')
$_KeyPrivFile is my RSA Private File on IFS
$_Hash1 is the Hash in Binary
$_Record is my string that i want to Sign.
$_Hashb64 is the Hash in base64 encoding
I'm looking for some API or RPG/RPGLE program to replace OpenSSL.
Can anyone indicate the right API or post an example (OS V7R3)?
Comment