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