public virtual Security.AuthenticationBlock CreateAuthenticationBlock(SlpReader reader) { var result = new Security.AuthenticationBlock(); result.Descriptor = reader.ReadInt16(); var length = reader.ReadInt16(); result.TimeStamp = reader.ReadDateTime(); result.SpiString = reader.ReadString(); result.Data = reader.ReadBytes(length); return result; }
internal override void Create(SlpReader reader) { base.Create(reader); ErrorCode = (ServiceErrorCode)reader.ReadInt16(); BootTimeStamp = reader.ReadDateTime(); var url = reader.ReadString(); Scopes.AddRange(reader.ReadList()); Uri = new ServiceUri(url, Services.Locator.GetInstance <AttributeCollection>(reader)); SpiStrings.AddRange(reader.ReadList()); ReadAuthBlocks(reader, AuthBlocks); }
public virtual Security.AuthenticationBlock CreateAuthenticationBlock(SlpReader reader) { var result = new Security.AuthenticationBlock(); result.Descriptor = reader.ReadInt16(); var length = reader.ReadInt16(); result.TimeStamp = reader.ReadDateTime(); result.SpiString = reader.ReadString(); result.Data = reader.ReadBytes(length); return(result); }
internal override void Create(SlpReader reader) { base.Create(reader); ErrorCode = (ServiceErrorCode)reader.ReadInt16(); BootTimeStamp = reader.ReadDateTime(); var url = reader.ReadString(); Scopes.AddRange(reader.ReadList()); Uri = new ServiceUri(url, Services.Locator.GetInstance<AttributeCollection>(reader)); SpiStrings.AddRange(reader.ReadList()); ReadAuthBlocks(reader, AuthBlocks); }