// GenerateMasterNym generates a master pseudonym to be used with GenerateCertificate.
GenerateMasterNym generates a master pseudonym to be used with GenerateCertificate.
// GenerateMasterNym generates a master pseudonym to be used with GenerateCertificate .
func (c *PseudonymsysCAClientEC) GenerateMasterNym(secret *big.Int) *pseudonymsys.PseudonymEC {
	group := groups.NewECGroup(c.curve)
	a := groups.NewECGroupElement(group.Curve.Params().Gx, group.Curve.Params().Gy)
	b := group.Exp(a, secret)
	return pseudonymsys.NewPseudonymEC(a, b)
}
func ( c * PseudonymsysCAClientEC ) GenerateMasterNym ( secret * big . Int ) * pseudonymsys . PseudonymEC { group := groups . NewECGroup ( c . curve ) a := groups . NewECGroupElement ( group . Curve . Params ( ) . Gx , group . Curve . Params ( ) . Gy ) b := group . Exp ( a , secret ) return pseudonymsys . NewPseudonymEC ( a , b ) }
GenerateMasterNym generates a master pseudonym to be used with GenerateCertificate.
GenerateMasterNym generates a master pseudonym to be used with GenerateCertificate .