2 writes to _tlsSecrets
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicTlsSecret.cs (2)
49
_tlsSecrets
= tlsSecrets;
133
_tlsSecrets
= null;
26 references to _tlsSecrets
System.Net.Quic (26)
System\Net\Quic\Internal\MsQuicTlsSecret.cs (26)
54
ReadOnlySpan<byte> clientRandom =
_tlsSecrets
->IsSet.ClientRandom != 0
55
? new ReadOnlySpan<byte>(
_tlsSecrets
->ClientRandom, 32)
58
Span<byte> clientHandshakeTrafficSecret =
_tlsSecrets
->IsSet.ClientHandshakeTrafficSecret != 0
59
? new Span<byte>(
_tlsSecrets
->ClientHandshakeTrafficSecret,
_tlsSecrets
->SecretLength)
62
Span<byte> serverHandshakeTrafficSecret =
_tlsSecrets
->IsSet.ServerHandshakeTrafficSecret != 0
63
? new Span<byte>(
_tlsSecrets
->ServerHandshakeTrafficSecret,
_tlsSecrets
->SecretLength)
66
Span<byte> clientTrafficSecret0 =
_tlsSecrets
->IsSet.ClientTrafficSecret0 != 0
67
? new Span<byte>(
_tlsSecrets
->ClientTrafficSecret0,
_tlsSecrets
->SecretLength)
70
Span<byte> serverTrafficSecret0 =
_tlsSecrets
->IsSet.ServerTrafficSecret0 != 0
71
? new Span<byte>(
_tlsSecrets
->ServerTrafficSecret0,
_tlsSecrets
->SecretLength)
74
Span<byte> clientEarlyTrafficSecret =
_tlsSecrets
->IsSet.ClientEarlyTrafficSecret != 0
75
? new Span<byte>(
_tlsSecrets
->ClientEarlyTrafficSecret,
_tlsSecrets
->SecretLength)
91
_tlsSecrets
->IsSet.ClientHandshakeTrafficSecret = 0;
97
_tlsSecrets
->IsSet.ServerHandshakeTrafficSecret = 0;
103
_tlsSecrets
->IsSet.ClientTrafficSecret0 = 0;
109
_tlsSecrets
->IsSet.ServerTrafficSecret0 = 0;
115
_tlsSecrets
->IsSet.ClientEarlyTrafficSecret = 0;
121
if (
_tlsSecrets
is null)
127
if (
_tlsSecrets
is null)
132
QUIC_TLS_SECRETS* tlsSecrets =
_tlsSecrets
;
134
NativeMemory.Free(
_tlsSecrets
);