public DSASigner(OTR.Interface.DSAKeyParams dsa_key_hex_strings) { if (dsa_key_hex_strings == null) throw new ArgumentException("DSASigner: The DSA key hex string object cannot be null"); try { SetKey(dsa_key_hex_strings.GetParamP(), dsa_key_hex_strings.GetParamQ(), dsa_key_hex_strings.GetParamG(), dsa_key_hex_strings.GetParamX()); } catch (Exception ex) { throw new ArgumentException("DSASigner(DSAKeyHexStrings)" + ex.ToString()); } }