When I call this function, I can see from the generated binary data that
the format is the public key, followed by the P param, followed by 3
bytes which I don't know what they are, followed by the Q param,
followed by the G param.

 

Can anybody tell me what those 3 bytes?

 

I haven't tried generating more than one DSA pub/priv key pair yet using
these params so I don't know if these 3 bytes are the same all the time,
but does someone know off hand what those bytes are?

 

Is there some standard encoding for how a public key and private key are
stored?  i.e. do the params always come after the pub/priv key, or
before?  And do they always appear in the order of P,Q,G?  

 

Thanks,

Ed

Reply via email to