Ejemplo n.º 1
0
        /// <summary>
        /// Creates a Provider's response to an incoming association request.
        /// </summary>
        /// <returns>
        /// The appropriate association response message.
        /// </returns>
        public IProtocolMessage CreateResponseCore()
        {
            var response = new AssociateDiffieHellmanProviderResponse(this.Version, this);

            response.AssociationType = this.AssociationType;
            return(response);
        }
		/// <summary>
		/// Creates a Provider's response to an incoming association request.
		/// </summary>
		/// <returns>
		/// The appropriate association response message.
		/// </returns>
		public IProtocolMessage CreateResponseCore() {
#if !ExcludeDiffieHellman
			var response = new AssociateDiffieHellmanProviderResponse(this.Version, this);
			response.AssociationType = this.AssociationType;
			return response;
#else
			throw new NotSupportedException();
#endif
		}
		/// <summary>
		/// Creates a Provider's response to an incoming association request.
		/// </summary>
		/// <returns>
		/// The appropriate association response message.
		/// </returns>
		public IProtocolMessage CreateResponseCore() {
			var response = new AssociateDiffieHellmanProviderResponse(this.Version, this);
			response.AssociationType = this.AssociationType;
			return response;
		}