Click here to Skip to main content
15,885,097 members
Articles / Programming Languages / C#

Creating a secure channel

Rate me:
Please Sign up or sign in to vote.
4.90/5 (33 votes)
24 May 2008CDDL13 min read 117.8K   2.9K   86  
The purpose of this article is to explain how a secure channel is built. The article will explain the structure of a Very Simple Secured Protocol (VSSP) that sits above the TCP/IP layer.
using System;
using System.Runtime.Serialization;

namespace VSSProtocol.Exceptions
{
	/// <summary>
	/// The certificate public key does not match the requested suit.
	/// </summary>
	public class CertificateDoNotMacthSuit : Exception
	{
		public CertificateDoNotMacthSuit(SerializationInfo info, StreamingContext context) : base(info, context)
		{
		}

		public CertificateDoNotMacthSuit(string message, Exception innerException) : base(message, innerException)
		{
		}

		public CertificateDoNotMacthSuit(string message) : base(message)
		{
		}

		public CertificateDoNotMacthSuit()
		{
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


Written By
Software Developer
Israel Israel
A computer science master student at Bar Ilan University under the supervision of Dr. Gal Kaminka.
Dealing mainly with trajectory mining.

Comments and Discussions