C# Class System.Net.Security.SecureChannel

Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AcquireClientCredentials bool
AcquireServerCredentials bool
Close void
Decrypt SecurityStatusPal
Encrypt SecurityStatusPal
EnsurePrivateKey System.Security.Cryptography.X509Certificates.X509Certificate2
GenerateAlertToken ProtocolToken
GenerateToken SecurityStatusPal
GetAlertMessageFromChain TlsAlertMessage
GetChannelBinding System.Security.Authentication.ExtendedProtection.ChannelBinding
GetRequestCertificateAuthorities string[]
LogCertificateValidation void
MakeEx System.Security.Cryptography.X509Certificates.X509Certificate2
NextMessage ProtocolToken
ProcessHandshakeSuccess void
SecureChannel System.Collections.Generic
SetRefreshCredentialNeeded void
VerifyRemoteCertificate bool

Public Methods

Method Description
CreateFatalHandshakeAlertToken ( SslPolicyErrors sslPolicyErrors, X509Chain chain ) : ProtocolToken
CreateShutdownToken ( ) : ProtocolToken

Private Methods

Method Description
AcquireClientCredentials ( byte &thumbPrint ) : bool
AcquireServerCredentials ( byte &thumbPrint ) : bool
Close ( ) : void
Decrypt ( byte payload, int &offset, int &count ) : SecurityStatusPal
Encrypt ( byte buffer, int offset, int size, byte &output, int &resultSize ) : SecurityStatusPal
EnsurePrivateKey ( X509Certificate certificate ) : X509Certificate2
GenerateAlertToken ( ) : ProtocolToken
GenerateToken ( byte input, int offset, int count, byte &output ) : SecurityStatusPal
GetAlertMessageFromChain ( X509Chain chain ) : TlsAlertMessage
GetChannelBinding ( ChannelBindingKind kind ) : ChannelBinding
GetRequestCertificateAuthorities ( ) : string[]
LogCertificateValidation ( RemoteCertValidationCallback remoteCertValidationCallback, SslPolicyErrors sslPolicyErrors, bool success, X509Chain chain ) : void
MakeEx ( X509Certificate certificate ) : X509Certificate2
NextMessage ( byte incoming, int offset, int count ) : ProtocolToken
ProcessHandshakeSuccess ( ) : void
SecureChannel ( string hostname, bool serverMode, SslProtocols sslProtocols, X509Certificate serverCertificate, X509CertificateCollection clientCertificates, bool remoteCertRequired, bool checkCertName, bool checkCertRevocationStatus, EncryptionPolicy encryptionPolicy, LocalCertSelectionCallback certSelectionDelegate ) : System.Collections.Generic
SetRefreshCredentialNeeded ( ) : void
VerifyRemoteCertificate ( RemoteCertValidationCallback remoteCertValidationCallback, ProtocolToken &alertToken ) : bool

Method Details

CreateFatalHandshakeAlertToken() public method

public CreateFatalHandshakeAlertToken ( SslPolicyErrors sslPolicyErrors, X509Chain chain ) : ProtocolToken
sslPolicyErrors SslPolicyErrors
chain System.Security.Cryptography.X509Certificates.X509Chain
return ProtocolToken

CreateShutdownToken() public method

public CreateShutdownToken ( ) : ProtocolToken
return ProtocolToken