2 // WSSecurity.cs: Handles WS-Security WSSecurity
\r
5 // Sebastien Pouliot (spouliot@motus.com)
\r
7 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
\r
9 // Licensed under MIT X11 (see LICENSE) with this specific addition:
\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
20 namespace Microsoft.Web.Services.Security {
\r
22 public sealed class WSSecurity {
\r
24 // LAMESPEC AttributeNames aren't documented
\r
25 public class AttributeNames {
\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
34 public AttributeNames () {}
\r
37 // LAMESPEC ElementNames aren't documented
\r
38 public class ElementNames {
\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
50 public ElementNames () {}
\r
53 public const string NamespaceURI = "http://schemas.xmlsoap.org/ws/2002/07/secext";
\r
54 public const string Prefix = "wsse";
\r
56 public WSSecurity () {}
\r