55 references to BufferType
System (55)
net\System\Net\_NTAuthentication.cs (34)
675
list.Add(new SecurityBuffer(incomingBlob,
BufferType
.Token));
687
SecurityBuffer outSecurityBuffer = new SecurityBuffer(m_TokenSize,
BufferType
.Token);
793
SecurityBuffer outSecurityBuffer = new SecurityBuffer(m_TokenSize, isClientPreAuth ?
BufferType
.Parameters :
BufferType
.Token);
806
list.Add(new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(incomingBlob),
BufferType
.Token));
807
list.Add(new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestMethod),
BufferType
.Parameters));
808
list.Add(new SecurityBuffer(null,
BufferType
.Parameters));
809
list.Add(new SecurityBuffer(Encoding.Unicode.GetBytes(m_Spn),
BufferType
.TargetHost));
854
list.Add(incomingBlob == null ? new SecurityBuffer(0,
BufferType
.Token) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(incomingBlob),
BufferType
.Token));
855
list.Add(requestMethod == null ? new SecurityBuffer(0,
BufferType
.Parameters) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestMethod),
BufferType
.Parameters));
856
list.Add(requestedUri == null ? new SecurityBuffer(0,
BufferType
.Parameters) : new SecurityBuffer(WebHeaderCollection.HeaderEncoding.GetBytes(requestedUri),
BufferType
.Parameters));
857
list.Add(new SecurityBuffer(0,
BufferType
.Parameters));
858
list.Add(realm == null ? new SecurityBuffer(0,
BufferType
.Parameters) : new SecurityBuffer(Encoding.Unicode.GetBytes(realm),
BufferType
.Parameters));
978
securityBuffer[0] = new SecurityBuffer(output, 4, sizes.SecurityTrailer,
BufferType
.Token);
979
securityBuffer[1] = new SecurityBuffer(output, 4 + sizes.SecurityTrailer, count,
BufferType
.Data);
980
securityBuffer[2] = new SecurityBuffer(output, 4 + sizes.SecurityTrailer + count, sizes.BlockSize,
BufferType
.Padding);
990
securityBuffer[1].type |=
BufferType
.ReadOnlyFlag;
1045
securityBuffer[0] = new SecurityBuffer(payload, offset, count,
BufferType
.Stream);
1046
securityBuffer[1] = new SecurityBuffer(0,
BufferType
.Data);
1064
if (securityBuffer[1].type !=
BufferType
.Data)
1094
securityBuffer[0] = new SecurityBuffer(payload, offset, 16,
BufferType
.Token);
1095
securityBuffer[1] = new SecurityBuffer(payload, offset + 16, count-16,
BufferType
.Data);
1098
BufferType
realDataType =
BufferType
.Data;
1106
realDataType |=
BufferType
.ReadOnlyFlag;
1164
new SecurityBuffer(buffer, offset, count,
BufferType
.Stream);
1165
securityBuffer[1] = new SecurityBuffer(0,
BufferType
.Data);
1187
if (securityBuffer[1].type !=
BufferType
.Data)
1224
securityBuffer[0] = new SecurityBuffer(output, 0, sizes.MaxSignature,
BufferType
.Token);
1225
securityBuffer[1] = new SecurityBuffer(output, sizes.MaxSignature, count,
BufferType
.Data);
net\System\Net\_SecureChannel.cs (13)
945
incomingSecurity = new SecurityBuffer(input, offset, count,
BufferType
.Token);
949
new SecurityBuffer(null, 0, 0,
BufferType
.Empty)
953
SecurityBuffer outgoingSecurity = new SecurityBuffer(null,
BufferType
.Token);
1156
securityBuffer[0] = new SecurityBuffer(e_writeBuffer, 0, m_HeaderSize,
BufferType
.Header);
1157
securityBuffer[1] = new SecurityBuffer(e_writeBuffer, m_HeaderSize, size,
BufferType
.Data);
1158
securityBuffer[2] = new SecurityBuffer(e_writeBuffer, m_HeaderSize + size, m_TrailerSize,
BufferType
.Trailer);
1159
securityBuffer[3] = new SecurityBuffer(null,
BufferType
.Empty);
1193
decspc[0] = new SecurityBuffer(payload, offset, count,
BufferType
.Data);
1194
decspc[1] = new SecurityBuffer(null,
BufferType
.Empty);
1195
decspc[2] = new SecurityBuffer(null,
BufferType
.Empty);
1196
decspc[3] = new SecurityBuffer(null,
BufferType
.Empty);
1203
if ((errorCode == SecurityStatus.OK && decspc[i].type ==
BufferType
.Data)
1205
|| (errorCode != SecurityStatus.OK && decspc[i].type ==
BufferType
.Extra)) {
net\System\Net\_SSPIWrapper.cs (2)
341
bufferDesc[0] = new SecurityBuffer(buffer,
BufferType
.Token);
360
bufferDesc[0] = new SecurityBuffer(buffer,
BufferType
.Token);
net\System\Net\Internal.cs (6)
1449
public
BufferType
type;
1457
public
BufferType
type;
1462
public SecurityBuffer(byte[] data, int offset, int size,
BufferType
tokentype) {
1472
public SecurityBuffer(byte[] data,
BufferType
tokentype) {
1478
public SecurityBuffer(int size,
BufferType
tokentype) {
1488
this.type =
BufferType
.ChannelBindings;