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

◆ AcquireCredentialsHandle() [3/3]

static SafeFreeCredentials System.Net.Security.SslStreamPal.AcquireCredentialsHandle ( SslStreamCertificateContext certificateContext,
SslProtocols protocols,
EncryptionPolicy policy,
bool isServer )
inlinestatic

Definition at line 76 of file SslStreamPal.cs.

77 {
79 if (certificateContext != null && certificateContext.Trust != null && certificateContext.Trust._sendTrustInHandshake)
80 {
82 }
84 }
static unsafe SafeFreeCredentials AcquireCredentialsHandleSchCredentials(X509Certificate2 certificate, SslProtocols protocols, EncryptionPolicy policy, bool isServer)
static unsafe SafeFreeCredentials AcquireCredentialsHandleSchannelCred(X509Certificate2 certificate, SslProtocols protocols, EncryptionPolicy policy, bool isServer)
static readonly bool UseNewCryptoApi
static unsafe void AttachCertificateStore(SafeFreeCredentials cred, X509Store store)

References System.Net.Security.SslStreamPal.AcquireCredentialsHandleSchannelCred(), System.Net.Security.SslStreamPal.AcquireCredentialsHandleSchCredentials(), System.Net.Security.SslStreamPal.AttachCertificateStore(), System.Net.Security.Certificate, and System.Net.Security.SslStreamPal.UseNewCryptoApi.

Referenced by System.Net.Security.SecureChannel.AcquireClientCredentials(), System.Net.Security.SslStreamPal.AcquireCredentialsHandleSchannelCred(), System.Net.Security.SslStreamPal.AcquireCredentialsHandleSchCredentials(), and System.Net.Security.SecureChannel.AcquireServerCredentials().