C# Class Microsoft.Azure.Amqp.StreamExtensions

Datei anzeigen Open project: Azure/azure-amqp

Public Methods

Method Description
BeginAuthenticateAsClient ( this sslStream, string targetHost, AsyncCallback callback, object state ) : IAsyncResult
BeginAuthenticateAsClient ( this sslStream, string targetHost, X509CertificateCollection clientCerts, SslProtocols enabledProtocols, bool checkRevocation, AsyncCallback callback, object state ) : IAsyncResult
BeginAuthenticateAsServer ( this sslStream, X509Certificate serverCertificate, AsyncCallback callback, object state ) : IAsyncResult
BeginAuthenticateAsServer ( this sslStream, X509Certificate serverCert, bool clientCertRequired, SslProtocols enabledProtocols, bool checkRevocation, AsyncCallback callback, object state ) : IAsyncResult
BeginRead ( this stream, byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( this stream, byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
EndAuthenticateAsClient ( this sslStream, IAsyncResult asyncResult ) : void
EndAuthenticateAsServer ( this sslStream, IAsyncResult asyncResult ) : void
EndRead ( this stream, IAsyncResult asyncResult ) : int
EndWrite ( this stream, IAsyncResult asyncResult ) : void

Method Details

BeginAuthenticateAsClient() public static method

public static BeginAuthenticateAsClient ( this sslStream, string targetHost, AsyncCallback callback, object state ) : IAsyncResult
sslStream this
targetHost string
callback AsyncCallback
state object
return IAsyncResult

BeginAuthenticateAsClient() public static method

public static BeginAuthenticateAsClient ( this sslStream, string targetHost, X509CertificateCollection clientCerts, SslProtocols enabledProtocols, bool checkRevocation, AsyncCallback callback, object state ) : IAsyncResult
sslStream this
targetHost string
clientCerts System.Security.Cryptography.X509Certificates.X509CertificateCollection
enabledProtocols SslProtocols
checkRevocation bool
callback AsyncCallback
state object
return IAsyncResult

BeginAuthenticateAsServer() public static method

public static BeginAuthenticateAsServer ( this sslStream, X509Certificate serverCertificate, AsyncCallback callback, object state ) : IAsyncResult
sslStream this
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
callback AsyncCallback
state object
return IAsyncResult

BeginAuthenticateAsServer() public static method

public static BeginAuthenticateAsServer ( this sslStream, X509Certificate serverCert, bool clientCertRequired, SslProtocols enabledProtocols, bool checkRevocation, AsyncCallback callback, object state ) : IAsyncResult
sslStream this
serverCert System.Security.Cryptography.X509Certificates.X509Certificate
clientCertRequired bool
enabledProtocols SslProtocols
checkRevocation bool
callback AsyncCallback
state object
return IAsyncResult

BeginRead() public static method

public static BeginRead ( this stream, byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
stream this
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public static method

public static BeginWrite ( this stream, byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
stream this
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

EndAuthenticateAsClient() public static method

public static EndAuthenticateAsClient ( this sslStream, IAsyncResult asyncResult ) : void
sslStream this
asyncResult IAsyncResult
return void

EndAuthenticateAsServer() public static method

public static EndAuthenticateAsServer ( this sslStream, IAsyncResult asyncResult ) : void
sslStream this
asyncResult IAsyncResult
return void

EndRead() public static method

public static EndRead ( this stream, IAsyncResult asyncResult ) : int
stream this
asyncResult IAsyncResult
return int

EndWrite() public static method

public static EndWrite ( this stream, IAsyncResult asyncResult ) : void
stream this
asyncResult IAsyncResult
return void