/// <summary> /// Constructor /// </summary> /// <param name="flags">Security context attributes</param> /// <param name="mechList">Supported MechType list</param> protected SpngConfig(uint flags, MechTypeList mechList) : base(SecurityPackageType.Negotiate) { this.mechList = mechList; this.contextAttributes = flags; this.spngOidIntArray = SspiLib.Consts.SpngOidInt; //as in TD, the hintAddress is never present. this.hints = new NegHints(new Asn1.Asn1GeneralString("not_defined_in_RFC4178@please_ignore"), null); }
public NegTokenInit2( MechTypeList mechTypes, ContextFlags reqFlags, Asn1OctetString mechToken, NegHints negHints, Asn1OctetString mechListMIC) { this.mechTypes = mechTypes; this.reqFlags = reqFlags; this.mechToken = mechToken; this.negHints = negHints; this.mechListMIC = mechListMIC; }