2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / Microsoft.Web.Services / Microsoft.Web.Services.Security / WSSecurity.cs
1 //\r
2 // WSSecurity.cs: Handles WS-Security WSSecurity\r
3 //\r
4 // Author:\r
5 //      Sebastien Pouliot (spouliot@motus.com)\r
6 //\r
7 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)\r
8 //\r
9 // Licensed under MIT X11 (see LICENSE) with this specific addition:\r
10 //\r
11 // \93This source code may incorporate intellectual property owned by Microsoft \r
12 // Corporation. Our provision of this source code does not include any licenses\r
13 // or any other rights to you under any Microsoft intellectual property. If you\r
14 // would like a license from Microsoft (e.g. rebrand, redistribute), you need \r
15 // to contact Microsoft directly.\94 \r
16 //\r
17 \r
18 using System;\r
19 \r
20 namespace Microsoft.Web.Services.Security {\r
21 \r
22         public sealed class WSSecurity {\r
23 \r
24                 // LAMESPEC AttributeNames aren't documented\r
25                 public class AttributeNames {\r
26 \r
27                         public const string EncodingType = "EncodingType";\r
28                         public const string IdentifierType = "IdentifierType"; \r
29                         public const string TokenType = "TokenType";\r
30                         public const string Type = "Type"; \r
31                         public const string Uri = "URI"; \r
32                         public const string ValueType = "ValueType"; \r
33 \r
34                         public AttributeNames () {}\r
35                 }\r
36 \r
37                 // LAMESPEC ElementNames aren't documented\r
38                 public class ElementNames {\r
39 \r
40                         public const string BinarySecurityToken = "BinarySecurityToken"; \r
41                         public const string KeyIdentifier = "KeyIdentifier"; \r
42                         public const string Nonce = "Nonce"; \r
43                         public const string Password = "Password"; \r
44                         public const string Reference = "Reference"; \r
45                         public const string Security = "Security"; \r
46                         public const string SecurityTokenReference = "SecurityTokenReference";\r
47                         public const string Username = "Username"; \r
48                         public const string UsernameToken = "UsernameToken";\r
49 \r
50                         public ElementNames () {}\r
51                 }\r
52 \r
53                 public const string NamespaceURI = "http://schemas.xmlsoap.org/ws/2002/07/secext";\r
54                 public const string Prefix = "wsse";\r
55 \r
56                 public WSSecurity () {}\r
57         }\r
58 }\r