Determine when a new key is generated. If both options are selected, a new key is generated when the first threshold is reached. ...