See Also

SslStream Class  | Dart.PowerTCP.SslSockets Namespace

See Also PowerTCP SSL Sockets for .NET

SslStream Class Members

Dart.PowerTCP.SslSockets Namespace : SslStream Class

SslStream overview

Public Constructors

Public Constructor SslStream Constructor Overloaded.  Creates an instance of SslStream

Public Properties

Public Property Authenticated Gets or sets a value which determines if the SSL handshake has completed.
Public Property CanRead (Inherited from PipeStream) Gets a value indicating whether the current Stream supports reading.
Public Property CanSeek (Inherited from EnhancedStream) Gets a value indicating whether the current stream supports seeking.
Public Property CanTimeout (Inherited from System.IO.Stream)Gets a value that determines whether the current stream can time out.
Public Property CanWrite (Inherited from EnhancedStream) Gets a value indicating whether the current stream supports writing.
Public Property Certificate Returns the Certificate object used by this Stream.
Public Property Charset (Inherited from EnhancedStream) Gets and sets the character set used for string/byte array conversions.
Public Property CoreStream (Inherited from PipeStream)The internal stream to which all buffered reads/writes are being made.
Public Property Encoding (Inherited from EnhancedStream)Gets or sets the type of encoding to use.
Public Property Length (Inherited from PipeStream)Gets the length in bytes of the stream.
Public Property Name Uniquely identifies the name of the current session.
Public Property Position (Inherited from PipeStream)Gets or sets the position within the current stream
Public Property Protocol Indicates the protocol to use.
Public Property ReadTimeout (Inherited from System.IO.Stream)Gets or sets a value that determines how long the stream will attempt to read before timing out.
Public Property RemoteCertificate Returns the Certificate object representing the certificate the remote host used for authentication.
Public Property UseAuthentication Gets or sets a value that determines if certificate authentication is used.
Public Property UseSslShutdown Controls whether or not shut-down bytes are sent to the server when the connection is closed.
Public Property WriteTimeout (Inherited from System.IO.Stream)Gets or sets a value that determines how long the stream will attempt to write before timing out.

Public Methods

Public Method BeginRead (Inherited from System.IO.Stream) 
Public Method BeginWrite (Inherited from System.IO.Stream) 
Public Method Close Overridden.  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
Public Method CreateObjRef (Inherited from System.MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Public Method Dispose (Inherited from EnhancedStream)Overloaded.  Releases all resources associated with the object.
Public Method EndRead (Inherited from System.IO.Stream)Waits for the pending asynchronous read to complete.
Public Method EndWrite (Inherited from System.IO.Stream)Ends an asynchronous write operation.
Public Method Flush (Inherited from PipeStream) Updates the underlying repository with the current state of the buffer and then clears the buffer.
Public Method GetLifetimeService (Inherited from System.MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Public Method InitializeLifetimeService (Inherited from System.MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Public Method Read Overloaded. Overridden. Read (while decrypting) data from the Stream.
Public Method ReadByte (Inherited from System.IO.Stream)Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Public Method Save (Inherited from EnhancedStream)Overloaded. Saves the data in the stream to the file specified by fileName.
Public Method Seek (Inherited from EnhancedStream) Sets the position within the current Stream to the specified value. Always throws a NotSupportedException.
Public Method SetLength (Inherited from EnhancedStream) Sets the length of the current Stream to the specified value. Always throws a NotSupportedException.
Public Method ToArray (Inherited from EnhancedStream)Returns the byte array representation of the Stream data.
Public Method ToString (Inherited from EnhancedStream)Returns the string representation of the Stream data.
Public Method Write Overloaded. Overridden. Write (while encrypting) data to the stream.
Public Method WriteByte (Inherited from System.IO.Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.
Public Method WriteTo (Inherited from EnhancedStream)Overloaded. Writes all of the data contained in this Stream to a destination Stream.

Public Events

Public Event CertificateReceived This event is raised when a certificate has been received to be authenticated.
Public Event CertificateRequested This event is raised when a certificate has been requested.
Public Event EndAuthentication This event is raised when SSL authentication is complete.

Protected Methods

Protected Method CreateWaitHandle (Inherited from System.IO.Stream)Allocates a WaitHandle object.
Protected Method Finalize Overridden.  
Protected Method FinalWrite (Inherited from PipeStream) 
Protected Method InternalWrite (Inherited from PipeStream) 
Protected Method MemberwiseClone (Inherited from System.MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
Protected Method ReadFilter Overridden.  
Protected Method ResetPosition (Inherited from PipeStream) 

See Also

SslStream Class  | Dart.PowerTCP.SslSockets Namespace


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.