Build 1.01.318.0
[This is preliminary documentation and is subject to change.]
The TcpServerChannel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TcpServerChannel |
Attaches the object to an existing socket.
|
Methods
| Name | Description | |
|---|---|---|
| ActivateToken |
Activates a new token.
(Inherited from TcpChannel.) | |
| Attach |
Attaches the channel to an existing socket.
| |
| BeginWriteMessage(ArraySegment<(Of <<'(Byte>)>>), Int32, Object) |
Queues a write request.
(Inherited from TcpChannel.) | |
| BeginWriteMessage(BufferCollection, Int32, Object) |
Queues a write request.
(Inherited from TcpChannel.) | |
| CalculateSymmetricKeySizes |
Calculates the symmetric key sizes based on the current security policy.
(Inherited from TcpChannel.) | |
| ChannelStateChanged |
Reports that the channel state has changed (in another thread).
(Inherited from TcpChannel.) | |
| ComputeKeys |
Computes the keys for a token.
(Inherited from TcpChannel.) | |
| CreateNonce |
Creates a new nonce.
(Inherited from TcpChannel.) | |
| CreateToken |
Creates a new token.
(Inherited from TcpChannel.) | |
| Decrypt(ArraySegment<(Of <<'(Byte>)>>), ArraySegment<(Of <<'(Byte>)>>), X509Certificate2) |
Decrypts the buffer using asymmetric encryption.
(Inherited from TcpChannel.) | |
| Decrypt(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean) |
Decrypts the data in a buffer using symmetric encryption.
(Inherited from TcpChannel.) | |
| DiscardTokens |
Discards the tokens.
(Inherited from TcpChannel.) | |
| Dispose()()()() |
Frees any unmanaged resources.
(Inherited from TcpChannel.) | |
| Dispose(Boolean) |
An overrideable version of the Dispose.
(Overrides TcpChannel..::..Dispose(Boolean).) | |
| Encrypt(ArraySegment<(Of <<'(Byte>)>>), ArraySegment<(Of <<'(Byte>)>>), X509Certificate2) |
Encrypts the buffer using asymmetric encryption.
(Inherited from TcpChannel.) | |
| Encrypt(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean) |
Decrypts the data in a buffer using symmetric encryption.
(Inherited from TcpChannel.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
The finializer implementation.
(Inherited from TcpChannel.) | |
| ForceChannelFault(ServiceResult) |
Forces the channel into a faulted state as a result of a fatal error.
| |
| ForceChannelFault(UInt32, String, array<Object>[]()[][]) |
Forces the channel into a faulted state as a result of a fatal error.
| |
| ForceChannelFault(Exception, UInt32, String, array<Object>[]()[][]) |
Forces the channel into a faulted state as a result of a fatal error.
| |
| GetAsymmetricHeaderSize |
Calculates the size of the asymmetric security header.
(Inherited from TcpChannel.) | |
| GetAsymmetricSignatureSize |
Calculates the size of the footer with an asymmetric signature.
(Inherited from TcpChannel.) | |
| GetCipherTextBlockSize |
Returns the cipher text block size for key in the specified certificate.
(Inherited from TcpChannel.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetNewSequenceNumber |
Returns a new sequence number.
(Inherited from TcpChannel.) | |
| GetNewTokenId |
Returns a new token id.
| |
| GetNonceLength |
Returns the length of the symmetric encryption key.
(Inherited from TcpChannel.) | |
| GetPlainTextBlockSize |
Returns the plain text block size for key in the specified certificate.
(Inherited from TcpChannel.) | |
| GetSavedChunks |
Returns the chunks saved for message.
(Inherited from TcpChannel.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HandleIncomingMessage |
Processes an incoming message.
(Overrides TcpChannel..::..HandleIncomingMessage(UInt32, ArraySegment<(Of <<'(Byte>)>>)).) | |
| HandleMessageProcessingError(ServiceResult) |
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.) | |
| HandleMessageProcessingError(UInt32, String, array<Object>[]()[][]) |
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.) | |
| HandleMessageProcessingError(Exception, UInt32, String, array<Object>[]()[][]) |
Handles an error parsing or verifying a message.
(Inherited from TcpChannel.) | |
| HandleSocketError |
Handles a socket error.
(Overrides TcpChannel..::..HandleSocketError(ServiceResult).) | |
| HandleWriteComplete |
Called after a write operation completes.
(Inherited from TcpChannel.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MessageLimitsExceeded |
Checks if the message limits have been exceeded.
(Inherited from TcpChannel.) | |
| OnMessageReceived |
Processes an incoming message.
(Inherited from TcpChannel.) | |
| OnReceiveError |
Handles a receive error.
(Inherited from TcpChannel.) | |
| OnWriteComplete |
Handles a write complete event.
(Inherited from TcpChannel.) | |
| ReadAsymmetricMessage |
Processes an OpenSecureChannel request message.
(Inherited from TcpChannel.) | |
| ReadAsymmetricMessageHeader |
Reads the asymmetric security header to the buffer.
(Inherited from TcpChannel.) | |
| ReadSymmetricMessage |
Decrypts and verifies a message chunk.
(Inherited from TcpChannel.) | |
| Reconnect |
Handles a reconnect request.
| |
| ResetSequenceNumber |
Resets the sequence number after a connect.
(Inherited from TcpChannel.) | |
| ReviseSecurityMode |
Checks if it is possible to revise the security mode.
(Inherited from TcpChannel.) | |
| SaveIntermediateChunk |
Saves an intermediate chunk for an incoming message.
(Inherited from TcpChannel.) | |
| SendErrorMessage |
Sends an error message over the socket.
| |
| SendResponse |
Sends the response for the specified request.
| |
| SetEndpointUrl |
Sets to endpoint according to the endpoint url.
(Inherited from TcpChannel.) | |
| SetRequestReceivedCallback |
Sets the callback used to receive notifications of new events.
| |
| SetStateChangedCallback |
Raised when the state of the channel changes.
(Inherited from TcpChannel.) | |
| Sign(ArraySegment<(Of <<'(Byte>)>>), X509Certificate2) |
Adds an asymmetric signature to the end of the buffer.
(Inherited from TcpChannel.) | |
| Sign(TcpChannelToken, ArraySegment<(Of <<'(Byte>)>>), Boolean) |
Returns the symmetric signature for the data.
(Inherited from TcpChannel.) | |
| ToString | (Inherited from Object.) | |
| ValidateNonce |
Validates the nonce.
(Inherited from TcpChannel.) | |
| Verify(ArraySegment<(Of <<'(Byte>)>>), array<Byte>[]()[][], X509Certificate2) |
Verifies an asymmetric signature at the end of the buffer.
(Inherited from TcpChannel.) | |
| Verify(TcpChannelToken, array<Byte>[]()[][], ArraySegment<(Of <<'(Byte>)>>), Boolean) |
Returns the symmetric signature for the data.
(Inherited from TcpChannel.) | |
| VerifySequenceNumber |
Checks if the sequence number is valid.
(Inherited from TcpChannel.) | |
| WriteAsymmetricMessage |
Sends a OpenSecureChannel response.
(Inherited from TcpChannel.) | |
| WriteAsymmetricMessageHeader |
Writes the asymmetric security header to the buffer.
(Inherited from TcpChannel.) | |
| WriteSymmetricMessage |
Secures the message using the security token.
(Inherited from TcpChannel.) |
Properties
| Name | Description | |
|---|---|---|
| BufferManager |
The buffer manager for the channel.
(Inherited from TcpChannel.) | |
| ChannelId |
The identifier assigned to the channel by the server.
(Inherited from TcpChannel.) | |
| ClientCertificate |
The certificate for the client.
(Inherited from TcpChannel.) | |
| CurrentToken |
Returns the current security token.
(Inherited from TcpChannel.) | |
| DataLock |
The synchronization object for the channel.
(Inherited from TcpChannel.) | |
| DiscoveryOnly |
Whether the channel is restricted to discovery operations.
(Inherited from TcpChannel.) | |
| EndpointDescription |
Returns the endpoint description selected by the client.
(Inherited from TcpChannel.) | |
| GlobalChannelId |
The globally unique identifier assigned to the channel by the server.
(Inherited from TcpChannel.) | |
| Id |
The identifier assigned to the channel by the server.
(Inherited from TcpChannel.) | |
| MaxRequestChunkCount |
The maximum number of chunks per request message.
(Inherited from TcpChannel.) | |
| MaxRequestMessageSize |
The maximum size for a request message.
(Inherited from TcpChannel.) | |
| MaxResponseChunkCount |
The maximum number of chunks per response message.
(Inherited from TcpChannel.) | |
| MaxResponseMessageSize |
The maximum size for a response message.
(Inherited from TcpChannel.) | |
| PreviousToken |
Returns the current security token.
(Inherited from TcpChannel.) | |
| Quotas |
The resource quotas for the channel.
(Inherited from TcpChannel.) | |
| ReceiveBufferSize |
The size of the receive buffer.
(Inherited from TcpChannel.) | |
| SecurityMode |
The security mode used with the channel.
(Inherited from TcpChannel.) | |
| SecurityPolicyUri |
The security policy used with the channel.
(Inherited from TcpChannel.) | |
| SendBufferSize |
The size of the send buffer.
(Inherited from TcpChannel.) | |
| ServerCertificate |
The certificate for the server.
(Inherited from TcpChannel.) | |
| Socket |
The socket for the channel.
(Inherited from TcpChannel.) | |
| State |
The state of the channel.
(Inherited from TcpChannel.) |