/// <summary> /// Initializes a new instance of the <see cref="CentralAuthority"/> class. /// </summary> /// <param name="protocol">The protocol.</param> public CentralAuthority(CAKeyProtocol protocol) { _bits = (int)protocol; _prime = BigInteger.GenPseudoPrime(_bits, Confidence, _rand); _g = (BigInteger)7; }
/// <summary> /// Initializes a new instance of the <see cref="CentralAuthority"/> class. /// </summary> /// <param name="protocol">The protocol.</param> public CentralAuthority(CAKeyProtocol protocol) { _bits = (int)protocol; _prime = BigInteger.GenPseudoPrime(_bits, Confidence, _rand); _g = (BigInteger)7; }