Hi,
      I'm new to coding encryption, so I apologize in advance if this is
obvious.
      I am trying to create a signature in a C++ program and I need to
generate the same signature as
a Java program we've already coded.  The Java call is like this:



Cipher cipher = Cipher.getInstance("RSA/NONE/PKCS1PADDING", ...);




and we're using BouncyCastle as the provider.
      In the C++ program,  I tried to pass "RSA_PKCS1_PADDING" as the type
to
"rsa_sign", but I'm not getting the same signature.  The Java and C++ are
both using the same private
PEM key.
      I'd appreciate any help you all can give.
Thanks,
Eric

Eric Manzon
IBM Certified I/T Specialist
IBM Account Support Team, Qualex
3414 North Duke Street
Durham, NC 27704
919-382-2342
[EMAIL PROTECTED]

Reply via email to