Mentalis.org Security Library documentation

SecureSocket Members

Public Instance Constructors

SecureSocketOverloaded. Initialize a new instance of the SecureSocket class.

Public Instance Properties

ActiveEncryption Gets the active encryption cipher suite.
AddressFamily (inherited from VirtualSocket) Gets the address family of the VirtualSocket.
Available Gets the amount of data that has been received from the network and is available to be read.
Blocking (inherited from VirtualSocket) Gets or sets a value that indicates whether the VirtualSocket is in blocking mode.
CommonName Gets the common name of the remote host.
Connected (inherited from VirtualSocket) Gets a value indicating whether a VirtualSocket is connected to a remote resource.
Entity Gets the credential type.
Handle (inherited from VirtualSocket) Gets the operating system handle for the VirtualSocket.
LocalCertificate Gets the local certificate.
LocalEndPoint (inherited from VirtualSocket) Gets the local endpoint.
ProtocolType (inherited from VirtualSocket) Gets the protocol type of the VirtualSocket.
RemoteCertificate Gets the remote certificate.
RemoteEndPoint (inherited from VirtualSocket) Gets the remote endpoint.
SecureProtocol Gets the security protocol in use.
SecurityFlags Gets the security flags of the connection.
SocketType (inherited from VirtualSocket) Gets the type of the VirtualSocket.
VerificationType Gets the credential verification type.
Verifier Gets the verify delegate.

Public Instance Methods

Accept Creates a new SecureSocket to handle an incoming connection request.
BeginAccept Begins an asynchronous request to create a new SecureSocket to accept an incoming connection request.
BeginConnect Begins an asynchronous request for a connection to a network device.
BeginReceive Begins to asynchronously receive data from a connected SecureSocket.
BeginReceiveFrom (inherited from VirtualSocket) Begins to asynchronously receive data from a specified network device.
BeginSend Sends data asynchronously to a connected SecureSocket.
BeginSendTo (inherited from VirtualSocket) Sends data asynchronously to a specific remote host.
BeginShutdown Begins an asynchronous request to shut the connection down.
Bind (inherited from VirtualSocket) Associates a VirtualSocket with a local endpoint.
ChangeSecurityProtocol Changes the security protocol.
Close Forces a SecureSocket connection to close.
Connect Establishes a connection to a remote device and optionally negotiates a secure transport protocol.
EndAccept Ends an asynchronous request to create a new SecureSocket to accept an incoming connection request.
EndConnect Ends a pending asynchronous connection request.
EndReceive Ends a pending asynchronous read.
EndReceiveFrom (inherited from VirtualSocket) Ends a pending asynchronous read from a specific endpoint.
EndSend Ends a pending asynchronous send.
EndSendTo (inherited from VirtualSocket) Ends a pending asynchronous send to a specific location.
EndShutdown Ends an asynchronous request to shut the connection down.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from VirtualSocket) This member overrides Object.GetHashCode.
GetSocketOption (inherited from VirtualSocket)Overloaded. Returns the value of the specified Socket option and returns in an array.
GetType (inherited from Object)Gets the Type of the current instance.
IOControl (inherited from VirtualSocket) Sets low-level operating modes for the VirtualSocket.
Listen (inherited from VirtualSocket) Places a VirtualSocket in a listening state.
Poll (inherited from VirtualSocket) Determines the status of the VirtualSocket.
QueueRenegotiate Queues a renegotiation request.
ReceiveOverloaded. Receives data from a connected SecureSocket into a specific location of the receive buffer.
ReceiveFrom (inherited from VirtualSocket)Overloaded. Receives a datagram in a specific location in the data buffer and stores the endpoint.
SendOverloaded. Sends data to a connected SecureSocket, starting at the indicated location in the data.
SendTo (inherited from VirtualSocket)Overloaded. Sends data to a specific endpoint, starting at the indicated location in the data.
SetSocketOption (inherited from VirtualSocket)Overloaded. Sets the specified option to the specified value.
Shutdown Shuts down the secure connection.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Properties

InternalSocket (inherited from VirtualSocket) Gets or sets the internal Socket value.

Protected Instance Methods

Finalize Frees resources used by the SecureSocket class.
InternalAccept (inherited from VirtualSocket) Creates a new Socket to handle an incoming connection request.
InternalEndAccept (inherited from VirtualSocket) Ends an asynchronous request to create a new Socket to accept an incoming connection request.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SecureSocket Class | Org.Mentalis.Security.Ssl Namespace