code: func (priv *DSAPrivateKey) Generate(rand io.Reader) error {
  	if err := dsa.GenerateParameters(&priv.PrivateKey.PublicKey.Parameters, rand, dsa.L1024N160); err != nil {
  		return err
  	}
  	if err := dsa.GenerateKey(&priv.PrivateKey, rand); err != nil {
  		return err
  	}
  	priv.DSAPublicKey.PublicKey = priv.PrivateKey.PublicKey
  	return nil
  }
docs: // Generate will generate a new DSA Private Key with the randomness provided. The parameter size used is 1024 and 160.