1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright (c) 2003-2012 by AG-Software 											 *
3  * All Rights Reserved.																 *
4  * Contact information for AG-Software is available at http://www.ag-software.de	 *
5  *																					 *
6  * Licence:																			 *
7  * The agsXMPP SDK is released under a dual licence									 *
8  * agsXMPP can be used under either of two licences									 *
9  * 																					 *
10  * A commercial licence which is probably the most appropriate for commercial 		 *
11  * corporate use and closed source projects. 										 *
12  *																					 *
13  * The GNU Public License (GPL) is probably most appropriate for inclusion in		 *
14  * other open source projects.														 *
15  *																					 *
16  * See README.html for details.														 *
17  *																					 *
18  * For general enquiries visit our website at:										 *
19  * http://www.ag-software.de														 *
20  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21 
22 using System;
23 
24 using agsXMPP.Xml.Dom;
25 
26 //<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
27 //dXNlcm5hbWU9InNvbWVub2RlIixyZWFsbT0ic29tZXJlYWxtIixub25jZT0i
28 //T0E2TUc5dEVRR20yaGgiLGNub25jZT0iT0E2TUhYaDZWcVRyUmsiLG5jPTAw
29 //MDAwMDAxLHFvcD1hdXRoLGRpZ2VzdC11cmk9InhtcHAvZXhhbXBsZS5jb20i
30 //LHJlc3BvbnNlPWQzODhkYWQ5MGQ0YmJkNzYwYTE1MjMyMWYyMTQzYWY3LGNo
31 //YXJzZXQ9dXRmLTgK
32 //</response>
33 namespace agsXMPP.protocol.sasl
34 {
35 	/// <summary>
36 	/// Summary description for Response.
37 	/// </summary>
38 	public class Response : Element
39 	{
Response()40 		public Response()
41 		{
42 			TagName	= "response";
43 			Namespace	= Uri.SASL;
44 		}
45 
Response(string text)46 		public Response(string text)
47             : this()
48 		{
49 			TextBase64	= text;
50 		}
51 
52         //public Response(byte[] bytes)
53         //    : this()
54         //{
55         //    this.Value = Convert.ToBase64String(bytes);
56         //}
57 	}
58 }