Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AuthenticateAsClient() [1/4]

void System.Net.Security.SslStream.AuthenticateAsClient ( SslClientAuthenticationOptions sslClientAuthenticationOptions)
inline

Definition at line 508 of file SslStream.cs.

509 {
510 if (sslClientAuthenticationOptions == null)
511 {
512 throw new ArgumentNullException("sslClientAuthenticationOptions");
513 }
514 SetAndVerifyValidationCallback(sslClientAuthenticationOptions.RemoteCertificateValidationCallback);
515 SetAndVerifySelectionCallback(sslClientAuthenticationOptions.LocalCertificateSelectionCallback);
518 }
void SetAndVerifySelectionCallback(LocalCertificateSelectionCallback callback)
Definition SslStream.cs:373
LocalCertSelectionCallback _certSelectionDelegate
Definition SslStream.cs:34
void ValidateCreateContext(SslClientAuthenticationOptions sslClientAuthenticationOptions, RemoteCertificateValidationCallback remoteCallback, LocalCertSelectionCallback localCallback)
Definition SslStream.cs:908
RemoteCertificateValidationCallback _userCertificateValidationCallback
Definition SslStream.cs:28
Task ProcessAuthenticationAsync(bool isAsync=false, bool isApm=false, CancellationToken cancellationToken=default(CancellationToken))
void SetAndVerifyValidationCallback(RemoteCertificateValidationCallback callback)
Definition SslStream.cs:361
new TaskAwaiter< TResult > GetAwaiter()
Definition Task.cs:221

References System.Net.Security.SslStream._certSelectionDelegate, System.Net.Security.SslStream._userCertificateValidationCallback, System.Threading.Tasks.Task< TResult >.GetAwaiter(), System.Net.Security.SslClientAuthenticationOptions.LocalCertificateSelectionCallback, System.Net.Security.SslStream.ProcessAuthenticationAsync(), System.Net.Security.SslClientAuthenticationOptions.RemoteCertificateValidationCallback, System.Net.Security.SslStream.SetAndVerifySelectionCallback(), System.Net.Security.SslStream.SetAndVerifyValidationCallback(), and System.Net.Security.SslStream.ValidateCreateContext().