32 references to ProtocolToken
System.Net.Security (32)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
514
internal static SecurityStatusPalErrorCode DoSslHandshake(SafeSslHandle context, ReadOnlySpan<byte> input, ref
ProtocolToken
token)
595
internal static Ssl.SslErrorCode Encrypt(SafeSslHandle context, ReadOnlySpan<byte> input, ref
ProtocolToken
outToken)
System\Net\Security\SslStream.cs (1)
451
ProtocolToken
token = CreateShutdownToken();
System\Net\Security\SslStream.IO.cs (11)
87
private
ProtocolToken
EncryptData(ReadOnlyMemory<byte> buffer)
95
ProtocolToken
token = default;
213
ProtocolToken
token = default;
284
ProtocolToken
token = default;
488
private
ProtocolToken
ProcessTlsFrame(int frameSize)
517
ProtocolToken
token = NextMessage(availableData.Slice(0, chunkSize), out int consumed);
551
private bool CompleteHandshake(ref
ProtocolToken
alertToken, out SslPolicyErrors sslPolicyErrors, out X509ChainStatusFlags chainStatus)
591
ProtocolToken
alertToken = default;
626
ProtocolToken
token;
671
ProtocolToken
token = default;
699
static async ValueTask CompleteWriteAsync(ValueTask writeTask,
ProtocolToken
token)
System\Net\Security\SslStream.Protocol.cs (11)
817
internal
ProtocolToken
NextMessage(ReadOnlySpan<byte> incomingBuffer, out int consumed)
819
ProtocolToken
token = GenerateToken(incomingBuffer, out consumed);
844
private
ProtocolToken
GenerateToken(ReadOnlySpan<byte> inputBuffer, out int consumed)
850
ProtocolToken
token = default;
964
internal
ProtocolToken
Renegotiate()
1001
internal
ProtocolToken
Encrypt(ReadOnlyMemory<byte> buffer)
1005
ProtocolToken
token = SslStreamPal.EncryptMessage(
1038
internal bool VerifyRemoteCertificate(RemoteCertificateValidationCallback? remoteCertValidationCallback, SslCertificateTrust? trust, ref
ProtocolToken
alertToken, out SslPolicyErrors sslPolicyErrors, out X509ChainStatusFlags chainStatus)
1161
private void CreateFatalHandshakeAlertToken(SslPolicyErrors sslPolicyErrors, X509Chain chain, ref
ProtocolToken
alertToken)
1199
private
ProtocolToken
CreateShutdownToken()
1220
private
ProtocolToken
GenerateAlertToken()
System\Net\Security\SslStreamPal.Unix.cs (7)
37
public static
ProtocolToken
AcceptSecurityContext(
47
public static
ProtocolToken
InitializeSecurityContext(
63
public static
ProtocolToken
EncryptMessage(SafeDeleteSslContext securityContext, ReadOnlyMemory<byte> input, int _ /*headerSize*/, int _1 /*trailerSize*/)
65
ProtocolToken
token = default;
139
public static
ProtocolToken
Renegotiate(
173
private static
ProtocolToken
HandshakeInternal(ref SafeDeleteSslContext? context,
176
ProtocolToken
token = default;