DSA signature

Roni Korenshtein (ronikoren@yahoo.com)
Thu, 10 Sep 1998 16:04:02 -0700 (PDT)

Hello,
Using Sun's JCA provider I sign some data using DSA
and get a byte array as a result of the sign() method.

I need to know the format of this byte array so i can
separate and extract the r & s values.

Would you please send me a description of this
byte array result. or confirm the following layout:

offset length description
------ ------ -----------
0 1 always contains 48 when no init
1 1 length of the rest of the array
2 n byte representation of BigInteger r
2+n m byte representation of BigInteger s

what are the specific values?

thanks, and i appreciate your help.
roni

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com